/* 打包时间：2025-11-29 21:10:27 */
(function(){
  try{
    var bridge = null;
    try{ bridge = runtime && runtime.accessibilityBridge; }catch(e){}
    if(!bridge){
      try{
        var m = runtime.getClass().getDeclaredMethod("getAccessibilityBridge");
        m.setAccessible(true);
        bridge = m.invoke(runtime);
      }catch(e){}
    }
    if(!bridge){ return; }
    try{
      var WF = Packages.com.stardust.autojs.core.accessibility.AccessibilityBridge$WindowFilter;
      bridge.setWindowFilter(new JavaAdapter(WF,{ filter:function(info){ return true; } }));
    }catch(e){}
  }catch(e){}
})();
module['exports'] = function (_0x4c973f) {
    var _0x4b6e3a = {};
    function _0xe0b8e6(_0x5148ab) {
        if (_0x4b6e3a[_0x5148ab])
            return _0x4b6e3a[_0x5148ab]['exports'];
        var _0x450950 = _0x4b6e3a[_0x5148ab] = {
            'i': _0x5148ab,
            'l': ![],
            'exports': {}
        };
        return _0x4c973f[_0x5148ab]['call'](_0x450950['exports'], _0x450950, _0x450950['exports'], _0xe0b8e6), _0x450950['l'] = !![], _0x450950['exports'];
    }
    return _0xe0b8e6['m'] = _0x4c973f, _0xe0b8e6['c'] = _0x4b6e3a, _0xe0b8e6['d'] = function (_0x2f7f1f, _0x333b17, _0x431ff4) {
        !_0xe0b8e6['o'](_0x2f7f1f, _0x333b17) && Object['defineProperty'](_0x2f7f1f, _0x333b17, {
            'enumerable': !![],
            'get': _0x431ff4
        });
    }, _0xe0b8e6['r'] = function (_0x45d2e6) {
        typeof Symbol !== 'undefined' && Symbol['toStringTag'] && Object['defineProperty'](_0x45d2e6, Symbol['toStringTag'], { 'value': 'Module' }), Object['defineProperty'](_0x45d2e6, '__esModule', { 'value': !![] });
    }, _0xe0b8e6['t'] = function (_0x5a5746, _0x3a2210) {
        if (_0x3a2210 & 0x1)
            _0x5a5746 = _0xe0b8e6(_0x5a5746);
        if (_0x3a2210 & 0x8)
            return _0x5a5746;
        if (_0x3a2210 & 0x4 && typeof _0x5a5746 === 'object' && _0x5a5746 && _0x5a5746['__esModule'])
            return _0x5a5746;
        var _0x95a4fd = Object['create'](null);
        _0xe0b8e6['r'](_0x95a4fd), Object['defineProperty'](_0x95a4fd, 'default', {
            'enumerable': !![],
            'value': _0x5a5746
        });
        if (_0x3a2210 & 0x2 && typeof _0x5a5746 != 'string') {
            for (var _0x5b1d82 in _0x5a5746)
                _0xe0b8e6['d'](_0x95a4fd, _0x5b1d82, function (_0x4dc362) {
                    return _0x5a5746[_0x4dc362];
                }['bind'](null, _0x5b1d82));
        }
        return _0x95a4fd;
    }, _0xe0b8e6['n'] = function (_0x14a9e0) {
        var _0x99b42 = _0x14a9e0 && _0x14a9e0['__esModule'] ? function _0x4f1f45() {
            return _0x14a9e0['default'];
        } : function _0x596618() {
            return _0x14a9e0;
        };
        return _0xe0b8e6['d'](_0x99b42, 'a', _0x99b42), _0x99b42;
    }, _0xe0b8e6['o'] = function (_0x17f263, _0xf364d0) {
        return Object['prototype']['hasOwnProperty']['call'](_0x17f263, _0xf364d0);
    }, _0xe0b8e6['p'] = '', _0xe0b8e6(_0xe0b8e6['s'] = 0x12);
}([
    function (_0x23eacc, _0x2cd4cc) {
        _0x23eacc['exports'] = require('./lib.js');
    },
    function (_0x427d7f, _0x87ea10) {
        _0x427d7f['exports'] = require('./datastore.js');
    },
    function (_0x4cad4c, _0x1edea2) {
        _0x4cad4c['exports'] = require('./log.js');
    },
    ,
    ,
    ,
    function (_0x16451d, _0x3a2418) {
        _0x16451d['exports'] = require('./contacts.js');
    },
    ,
    function (_0x33cfeb, _0x238057) {
        _0x33cfeb['exports'] = require('./touch.js');
    },
    function (_0xd21a5c, _0x1b542a) {
        _0xd21a5c['exports'] = require('./contacts_person.js');
    },
    function (_0x22dde9, _0x492065) {
        _0x22dde9['exports'] = require('./content.js');
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (_0x4e952e, _0x41a05a, _0xc280bc) {
        var _0x113844 = {};
        _0x4e952e['exports'] = _0x113844;
        const _0x15f3a2 = _0xc280bc(0x1);
        let _0x2570d5 = _0xc280bc(0x8), _0x35f7a9 = _0xc280bc(0x2);
        const _0x13a56b = Object['assign'](_0x35f7a9, _0x2570d5), {
                uniqueArr: _0x5b9539,
                uniqueArrAdelB: _0x2b5da2,
                circularWait: _0x57f1f1,
                InterruptAfter: _0xd3260b,
                InterruptBefore: _0x334d32
            } = _0xc280bc(0x0), _0x3cbe27 = 'com.tencent.mm';
        let _0xabc231 = null, _0xbfeaaa = null, _0x14a304 = null, _0x18d7f8 = null;
        const _0x37655b = [
            '通讯录',
            '微信',
            '发现',
            '我',
            '新的朋友',
            '仅聊天的朋友',
            '群聊',
            '标签',
            '公众号',
            '企业微信联系人',
            '我的企业及企业联系人',
            '星标朋友',
            '已注销的微信用户',
            '微信团队',
            'undefined',
            '99+'
        ];
        Function['prototype']['before'] = function (_0x2017d9) {
            var _0x29d58a = this;
            return function () {
                if (_0x2017d9['apply'](this, arguments) === ![])
                    return ![];
                return _0x29d58a['apply'](this, arguments);
            };
        }, _0x113844['getReturnBtn'] = function () {
            const _0x3ec590 = [
                    text('返回'),
                    desc('返回'),
                    text('取消'),
                    desc('取消'),
                    text('关闭'),
                    idContains('actionbar_up_indicator_btn'),
                    className('android.widget.Button'),
                    idContains('fz')
                ], _0x51b9ae = _0x113844['getUiObj'](_0x3ec590);
            return _0x51b9ae;
        }, _0x113844['addRecord'] = function (_0x53d6d3, _0x129cd1, _0x4c0f97) {
            var _0x226ad3 = files['exists'](_0x53d6d3) && files['isFile'](_0x53d6d3);
            if (_0x4c0f97 === 'a' && !_0x226ad3)
                _0x4c0f97 = 'w';
            else
                [
                    'a',
                    'w'
                ]['indexOf'](_0x4c0f97) === -0x1 && (_0x4c0f97 = _0x226ad3 ? 'a' : 'w');
            var _0x48375b = ![];
            try {
                let _0x5ef5e0 = open(_0x53d6d3, _0x4c0f97, 'gbk');
                for (let _0x4ec2bb = 0x0; _0x4ec2bb < _0x129cd1['length']; _0x4ec2bb++) {
                    _0x5ef5e0['writeline'](_0x129cd1[_0x4ec2bb]);
                }
                _0x5ef5e0['close'](), _0x48375b = !![];
            } catch (_0x594070) {
                console['log']('[wechat|L73]', JSON['stringify'](_0x594070));
            }
            return _0x48375b;
        }, _0x113844['进入好友列表'] = function (_0x4902c3) {
            let _0x19952c = ![];
            console['verbose']('【标志】正在进入通讯录(好友列表)'), _0x19952c = this['return2Find']('通讯录');
            if (_0x19952c && !_0x4902c3)
                return console['verbose']('【标志】当前已处于通讯录(好友列表)'), _0x19952c;
            let _0xc73d5e = this['getUiObj'](className('TextView')['text']('通讯录')['boundsInside'](0x0, device['height'] / 0x5 * 0x4, device['width'], device['height']));
            if (!_0xc73d5e)
                return _0x19952c = ![], _0x19952c;
            return _0x13a56b['superclick'](_0xc73d5e) ? _0x19952c = !![] : _0x19952c = this['getPageName']() === '通讯录', _0x4902c3 && (_0x13a56b['superclick'](_0xc73d5e), _0x13a56b['superclick'](_0xc73d5e), _0x13a56b['superclick'](_0xc73d5e), _0x13a56b['randomWait'](0x44c, 0x5dc)), _0x19952c && console['info']('[wechat|L114]', '成功进入通讯录(好友列表)'), _0x19952c;
        }, _0x113844['getWxBtn'] = function () {
            let _0x128679 = [
                    textStartsWith('微信'),
                    descStartsWith('微信'),
                    textStartsWith('WeChat'),
                    descStartsWith('WeChat')
                ], _0x206003 = _0x128679[0x0];
            for (let _0x38b29c = 0x0; _0x38b29c < _0x128679['length']; _0x38b29c++) {
                let _0x15b07e = _0x128679[_0x38b29c];
                if (_0x15b07e['findOne'](0x12c)) {
                    console['info']('[wechat|L125]', 'getWxBtn找到方式为第：', _0x38b29c, '种'), _0x206003 = _0x15b07e;
                    break;
                }
            }
            return _0x206003;
        }, _0x113844['getUiObj'] = function (_0xe21f72, _0x2be91e, _0x5cb8cf) {
            if (_0x2be91e === undefined)
                _0x2be91e = 'findOne';
            if (_0x5cb8cf === undefined)
                _0x5cb8cf = 0x3;
            let _0xd1559c = null;
            if (!_0xe21f72)
                return console['log']('[wechat|L145]', 'query\x20对象出错:' + JSON['stringify'](_0xe21f72)), _0xd1559c;
            while (_0x5cb8cf > 0x0) {
                if (_0xe21f72 instanceof Array)
                    _0xd1559c = this['getUiObjByList'](_0xe21f72, _0x2be91e);
                else {
                    let _0x101abe = this['getUiObjSingle'](_0xe21f72, _0x2be91e);
                    _0x101abe['flag'] && (_0xd1559c = _0x101abe['UiO']);
                }
                if (_0x2be91e === 'findOne' && _0xd1559c || _0x2be91e === 'find' && _0xd1559c && _0xd1559c['length'] > 0x0)
                    break;
                _0x5cb8cf -= 0x1;
            }
            return _0xd1559c;
        }, _0x113844['getUiObjByList'] = function (_0x4e0fa9, _0x12fc73) {
            if (_0x12fc73 === undefined)
                _0x12fc73 = 'findOne';
            let _0x5dd0c3 = null;
            if (!(_0x4e0fa9 instanceof Array))
                return console['log']('[wechat|L169]', 'getUiObjByList:\x20queryList\x20not\x20array'), _0x5dd0c3;
            for (let _0x4e6dea = 0x0; _0x4e6dea < _0x4e0fa9['length']; _0x4e6dea++) {
                let _0x2011c8 = _0x4e0fa9[_0x4e6dea], _0x1e82a3 = this['getUiObjSingle'](_0x2011c8, _0x12fc73);
                if (_0x1e82a3['flag']) {
                    _0x5dd0c3 = _0x1e82a3['UiO'];
                    break;
                }
                _0x13a56b['randomWait'](0x5a, 0x64);
            }
            return _0x5dd0c3;
        }, _0x113844['getUiObjSingle'] = function (_0x2a9e1d, _0x3be497) {
            let _0x3278c7 = {
                'flag': ![],
                'UiO': null
            };
            if (_0x3be497 === 'find')
                try {
                    let _0x138bb7 = _0x2a9e1d['find']();
                    _0x138bb7 && _0x138bb7['length'] > 0x0 && (_0x3278c7['flag'] = !![], _0x3278c7['UiO'] = _0x138bb7);
                } catch (_0x2b6f3b) {
                    console['log']('[wechat|L201]', 'getUiObjSingle:' + JSON['stringify'](_0x2b6f3b));
                }
            else {
                let _0x5b83ef = _0x2a9e1d['findOne'](0x96);
                _0x5b83ef && (_0x3278c7['flag'] = !![], _0x3278c7['UiO'] = _0x5b83ef);
            }
            return _0x3278c7;
        }, _0x113844['getGZHListLocal'] = function () {
            const _0x42e73b = _0x15f3a2['get']('GZHListLocal', []);
            if (_0x42e73b['length'] > 0x0)
                return _0x42e73b;
            if (!this['启动']() || !this['intoPageBySearch']('订阅号消息'))
                return _0x42e73b;
            let _0xb8bba7 = this['getUiObj'](desc('订阅号'));
            if (!_0x13a56b['superclick'](_0xb8bba7))
                return console['error']('[wechat|L225]', '进入订阅号列表失败'), _0x42e73b;
            let _0x5d9d5e = this['getUiObj'](className('ListView'));
            if (!_0x5d9d5e)
                return console['error']('[wechat|L230]', '进入订阅号列表失败'), _0x42e73b;
            let _0x2b6cce = _0x5d9d5e['children']();
            console['log']('[wechat|L234]', 'ui_list.length:' + _0x2b6cce['length']);
            for (let _0x4b32ba = 0x0; _0x4b32ba < _0x2b6cce['length']; _0x4b32ba++) {
                _0xb8bba7 = _0x2b6cce[_0x4b32ba];
                if (_0x13a56b['superclick'](_0xb8bba7)) {
                    let _0x474693 = this['getPageName']();
                    _0x474693 && (console['log']('[wechat|L241]', 'pageName' + _0x474693), _0x42e73b['push'](_0x474693), this['返回'](0x1));
                }
            }
            return _0x15f3a2['put']('GZHListLocal', _0x42e73b), console['log']('[wechat|L248]', 'list:', _0x42e73b['join']('|')), _0x42e73b;
        }, _0x113844['公众号浏览'] = function (_0x4519aa, _0x2536d7, _0x372359, _0x5417e2) {
            if (_0x5417e2 === 0x1)
                _0x15f3a2['put']('GZHListLocal', []), this['Grobal']['GzhList'] = [];
            else {
            }
            let _0x79e1fa = this['Grobal']['GzhList'];
            if (_0x79e1fa['length'] === 0x0) {
                let _0x7e43e4 = _0x113844['getGZHList'](), _0xe012aa = _0x113844['getGZHListLocal']();
                _0x79e1fa = _0x7e43e4;
                for (let _0x5a041d = 0x0; _0x5a041d < _0xe012aa['length']; _0x5a041d++) {
                    let _0x1c91af = _0xe012aa[_0x5a041d];
                    _0x79e1fa['indexOf'](_0x1c91af) === -0x1 && _0x79e1fa['push'](_0x1c91af);
                }
                this['Grobal']['GzhList'] = _0x79e1fa;
            }
            let _0x5f3c14 = _0x79e1fa;
            if (_0x79e1fa['length'] > _0x4519aa)
                _0x5f3c14 = _0x79e1fa['slice'](0x0, _0x4519aa - 0x1);
            else
                _0x79e1fa['length'] < _0x4519aa && (_0x4519aa = _0x79e1fa['length']);
            this['启动']();
            for (let _0x3ad5cf = 0x0; _0x3ad5cf < _0x5f3c14['length']; _0x3ad5cf++) {
                let _0x394880 = _0x5f3c14[_0x3ad5cf];
                this['intoGZH'](_0x394880) && this['watchGZH']();
            }
        }, _0x113844['getGZHList'] = function () {
            const _0x355bfa = 'https://gitee.com/xiaogf/trumpnb/raw/master/common.json';
            let _0x539495 = [];
            const _0x4b0f3e = http['get'](_0x355bfa);
            if (_0x4b0f3e['statusCode'] == 0xc8) {
                let _0x474389 = _0x4b0f3e['body']['string'](), _0x4d995d = JSON['parse'](_0x474389);
                _0x539495 = _0x4d995d['gzh_list'];
            } else
                toastLog('返回码错误:' + _0x4b0f3e['statusCode']);
            return console['log']('[wechat|L306]', 'list:', _0x539495['join']('|')), _0x539495;
        }, _0x113844['watchGZH'] = function () {
            const _0x5155e0 = function () {
                let _0x461fc1 = 0x5, _0x4d71f5 = [
                        className('Button')['textStartsWith']('在看'),
                        className('Button')['textStartsWith']('赞')
                    ];
                while (_0x461fc1 > 0x0) {
                    _0x13a56b['randomWait'](0xfa0, 0x1b58), this['scroll'](), _0x461fc1 -= 0x1;
                    if (_0x4d71f5[0x0]['exists']() || _0x4d71f5[0x1]['exists']())
                        break;
                }
                let _0x494734 = 0x0;
                while (_0x494734 < _0x4d71f5['length']) {
                    let _0x34e335 = _0x113844['getUiObj'](_0x4d71f5[_0x494734]);
                    if (_0x34e335) {
                        let _0x448c34 = _0x34e335['text']()['replace'](/[^0-9]/gi, '') * 0x1;
                        _0x13a56b['superclick'](_0x34e335), _0x13a56b['randomWait'](0x384, 0x44c), _0x34e335 = _0x113844['getUiObj'](_0x4d71f5[_0x494734]);
                        if (_0x34e335) {
                            let _0x59e998 = _0x34e335['text']()['replace'](/[^0-9]/gi, '') * 0x1;
                            _0x448c34 > _0x59e998 && _0x13a56b['superclick'](_0x34e335);
                        }
                    }
                    _0x494734 += 0x1;
                }
                _0x13a56b['randomWait'](0x384, 0x44c), _0x113844['返回'](0x1);
            };
            _0x13a56b['randomWait'](0x76c, 0x834);
            let _0x49a29c = idContains('biz_slot_')['visibleToUser'](!![])['find']();
            for (let _0x6fa8ca = 0x0; _0x6fa8ca < _0x49a29c['length']; _0x6fa8ca++) {
                let _0x1d0639 = _0x49a29c[_0x6fa8ca];
                _0x13a56b['superclick'](_0x1d0639) && _0x5155e0();
            }
        }, _0x113844['intoGZH'] = function (_0x50baf3) {
            let _0x371ba8 = ![];
            _0x371ba8 = this['intoPageBySearch'](_0x50baf3), _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x46855e;
            if (_0x371ba8)
                _0x46855e = this['getUiObj'](desc('设置')), _0x46855e && _0x13a56b['superclick'](_0x46855e) && _0x13a56b['randomWait'](0x384, 0x44c);
            else {
                _0x46855e = this['getUiObj'](text('公众号'));
                if (!_0x13a56b['superclick'](_0x46855e))
                    return console['warn']('[wechat|L370]', '找不到\x20公众号\x20标签'), _0x371ba8;
                _0x13a56b['randomWait'](0x384, 0x44c), _0x46855e = this['getUiObj'](className('android.view.View')['textStartsWith'](_0x50baf3));
                if (!_0x13a56b['superclick'](_0x46855e))
                    return console['warn']('[wechat|L376]', '找不到\x20公众号\x20' + _0x50baf3), _0x371ba8;
                _0x13a56b['randomWait'](0x384, 0x44c), _0x46855e = text('关注公众号')['findOne'](0x258), _0x46855e && _0x13a56b['superclick'](_0x46855e) && (_0x13a56b['randomWait'](0x384, 0x44c), _0x46855e = this['getUiObj'](desc('设置')), _0x46855e && _0x13a56b['superclick'](_0x46855e) && _0x13a56b['randomWait'](0x384, 0x44c));
            }
            return this['getUiObj'](text('进入公众号')) && (_0x371ba8 = !![]), console['log']('[wechat|L392]', '进入公众号:' + _0x50baf3 + '\x20' + (_0x371ba8 ? '成功' : '失败')), _0x371ba8;
        }, _0x113844['Grobal'] = {
            'isAllow': ![],
            'ingnoreRemark': ![],
            'rightType': '朋友圈',
            'scrollNum': 0x0,
            'verifyLang': '',
            'wxIdx': 0x0,
            'savePath': '',
            'ContactList': [],
            'GzhList': []
        }, _0x113844['init'] = function (_0x4ed314, _0x438bdc) {
            this['Grobal']['scrollNum'] = 0x0;
            for (let _0x433b72 in _0x4ed314) {
                this['Grobal'][_0x433b72] = _0x4ed314[_0x433b72];
            }
            this['Grobal']['ct'] = _0x438bdc, this['Grobal']['ContactList'] = [];
        }, _0x113844['getContactList'] = function () {
            const {
                ContactList: _0x58fe68,
                ct: _0x43eb1d
            } = this['Grobal'];
            if (_0x58fe68 && _0x58fe68['length'])
                return _0x58fe68;
            let _0x384dbc = [];
            try {
                _0x384dbc = _0x43eb1d ? _0x43eb1d['getAllContacts']() : [], _0x15f3a2['put']('ContactList', _0x384dbc), this['Grobal']['ContactList'] = _0x384dbc;
            } catch (_0x340640) {
                console['log']('[wechat|L457]', JSON['stringify'](_0x340640)), _0x384dbc = [];
            }
            return _0x384dbc;
        }, _0x113844['setWxIdx'] = function (_0x365c38) {
            this['Grobal']['wxIdx'] = _0x365c38 == null ? 0x0 : _0x365c38;
        }, _0x113844['getWxIdx'] = function () {
            return this['Grobal']['wxIdx'];
        }, _0x113844['isIngnoreRemark'] = function () {
            let _0x48b2f5 = this['Grobal']['ingnoreRemark'] == null ? ![] : this['Grobal']['ingnoreRemark'];
            return _0x48b2f5;
        }, _0x113844['isAddRepeat'] = function () {
            let _0xfaa2b6 = this['Grobal']['isAllow'] == null ? ![] : this['Grobal']['isAllow'];
            return _0xfaa2b6;
        }, _0x113844['isAddable'] = function (_0x33d7ff, _0x2da0f4) {
            let _0x18e6fc = this['isAddRepeat']();
            return !_0x18e6fc && (_0x18e6fc = !textStartsWith('昵称:')['exists']()), _0x18e6fc ? this['isIngnoreRemark']() ? toastLog('【标志】忽略备注及分组,快速添加') : (_0x18e6fc = this['noteAndLabel'](_0x33d7ff, _0x2da0f4), !_0x18e6fc && _0x13a56b['toastWarn']('【标志】添加备注及分组失败')) : _0x13a56b['toastWarn']('【标志】不对该客户重复添加'), _0x18e6fc;
        }, _0x113844['进入漂流瓶'] = function () {
            let _0x331b1c = _0x113844['waitForActivity']('BottleBeachUI', 0x2, !![]);
            if (_0x331b1c)
                return toastLog('【标志】当前已处于\x20漂流瓶'), _0x331b1c;
            console['log']('[wechat|L506]', '【标志】正在进入\x20漂流瓶'), this['返回主界面']();
            var _0x3a59cf = className('TextView')['text']('发现')['findOne'](0x12c);
            if (!_0x3a59cf)
                return console['log']('[wechat|L510]', '找不到\x20发现'), _0x331b1c;
            if (!_0x13a56b['superclick'](_0x3a59cf))
                return _0x331b1c;
            _0x13a56b['randomWait'](0xaf0, 0xc80), _0x3a59cf = idContains('title')['className']('TextView')['text']('漂流瓶')['findOne'](0x12c);
            if (!_0x3a59cf)
                return console['log']('[wechat|L524]', '没找到\x20漂流瓶'), _0x331b1c;
            if (!_0x13a56b['superclick'](_0x3a59cf))
                return _0x331b1c;
            return _0x13a56b['randomWait'](0xaf0, 0xc80), !![];
        }, _0x113844['goWechatStep'] = function () {
            let _0x21e3ad = ![], _0x5489e7;
            if (!this['返回主界面']())
                return _0x21e3ad;
            console['log']('[wechat|L553]', '【标志】正在进入微信运动');
            if (!this['intoPageBySearch']('微信运动'))
                return console['log']('[wechat|L555]', '进入微信运动失败'), _0x21e3ad;
            _0x5489e7 = className('TextView')['text']('步数排行榜')['findOne'](0x12c);
            if (!_0x5489e7)
                return console['log']('[wechat|L561]', '找不到\x20步数排行榜'), _0x21e3ad;
            if (!_0x13a56b['superclick'](_0x5489e7))
                return _0x21e3ad;
            let _0x5e7d30 = 0x3;
            while (_0x5e7d30 > 0x0) {
                if (idContains('text1')['className']('TextView')['text']('排行榜')['exists']()) {
                    _0x21e3ad = !![];
                    break;
                }
                _0x13a56b['randomWait'](0x578, 0x640), _0x5e7d30--;
            }
            return console['log']('[wechat|L582]', '【标志】进入微信运动' + (_0x21e3ad ? '成功' : '失败')), _0x21e3ad;
        }, _0x113844['进入群发助手'] = function () {
            let _0x36160e = ![];
            _0x36160e = _0x113844['waitForActivity']('MassSendHistoryUI', 0x1, !![]);
            if (_0x36160e)
                return toastLog('【标志】当前已处于\x20群发助手'), _0x36160e;
            _0x36160e = this['return2Find']('群发助手');
            if (_0x36160e)
                return toastLog('【标志】已成功返回\x20群发助手'), _0x36160e;
            return console['log']('[wechat|L598]', '【标志】正在进入群发助手'), _0x36160e = this['intoPageBySearch']('群发助手'), console['log']('[wechat|L600]', '【标志】进入群发助手' + (_0x36160e ? '成功' : '失败')), _0x36160e;
        }, _0x113844['进入添加朋友'] = function () {
            let _0x505c91 = ![];
            _0x505c91 = _0x113844['getPageName']() === '添加朋友';
            if (_0x505c91)
                return toastLog('【标志】当前已处于\x20添加朋友'), _0x505c91;
            _0x505c91 = this['return2Find']('添加朋友');
            if (_0x505c91)
                return toastLog('【标志】已成功返回\x20添加朋友'), _0x505c91;
            console['log']('[wechat|L623]', '【标志】正在进入添加朋友');
            var _0x465174 = className('RelativeLayout')['desc']('更多功能按钮')['findOne'](0x12c);
            if (!_0x465174)
                return console['log']('[wechat|L626]', '找不到\x20更多功能按钮'), _0x505c91;
            if (!_0x13a56b['superclick'](_0x465174))
                return _0x505c91;
            _0x13a56b['randomWait'](0x384, 0x44c);
            var _0x590a6d = className('TextView')['text']('添加朋友')['findOne'](0x12c);
            if (!_0x590a6d)
                return console['log']('[wechat|L640]', '找不到\x20添加朋友\x20按钮'), _0x505c91;
            if (!_0x13a56b['superclick'](_0x590a6d))
                return _0x505c91;
            return _0x13a56b['randomWait'](0x708, 0x898), _0x505c91 = !![], console['log']('[wechat|L652]', '【标志】成功进入添加朋友'), _0x505c91;
        }, _0x113844['进入通讯录'] = function () {
            let _0x3d4088 = ![];
            _0x3d4088 = this['getPageName']() === '查看手机通讯录';
            if (_0x3d4088)
                return toastLog('【标志】当前已处于\x20查看手机通讯录'), _0x3d4088;
            _0x3d4088 = this['return2Find']('查看手机通讯录');
            if (_0x3d4088)
                return toastLog('【标志】已成功返回\x20查看手机通讯录'), _0x3d4088;
            if (!this['进入添加朋友']())
                return console['log']('[wechat|L674]', '【标志】未能成功进入\x20添加朋友'), _0x3d4088;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x2ef59d = className('TextView')['text']('手机联系人')['findOne'](0x12c);
            if (!_0x2ef59d)
                return console['log']('[wechat|L682]', '找不到\x20手机联系人'), _0x3d4088;
            if (!_0x13a56b['superclick'](_0x2ef59d))
                return _0x3d4088;
            return _0x13a56b['randomWait'](0x708, 0x898), console['log']('[wechat|L693]', '【标志】成功进入查看手机通讯录'), !![];
        }, _0x113844['进入新的朋友'] = function () {
            let _0x1a9f78 = ![], _0x1d3a58;
            if (!this['进入好友列表'](!![]))
                return _0x13a56b['toastWarn']('未能进入好友列表'), _0x1a9f78;
            _0x1d3a58 = this['getUiObjByList']([
                className('TextView')['text']('新的朋友'),
                className('TextView')['text']('朋友推荐')
            ]);
            _0x1d3a58 && _0x13a56b['superclick'](_0x1d3a58) && (_0x1a9f78 = !![], _0x13a56b['randomWait'](0x384, 0x44c));
            let _0x545324 = _0x1a9f78 ? '成功' : '未能成功';
            return console['log']('[wechat|L746]', '【标志】' + _0x545324 + '进入新的朋友'), _0x1a9f78;
        }, _0x113844['intoPyq'] = function () {
            let _0x5d27f7 = _0x113844['waitForActivity']('SnsTimeLineUI', 0x1, !![]);
            if (_0x5d27f7)
                return toastLog('【标志】当前已处于\x20朋友圈'), _0x5d27f7;
            console['log']('[wechat|L755]', '【标志】正在进入朋友圈'), this['return2Find']('发现');
            var _0x582b26 = className('TextView')['text']('发现')['findOne'](0x12c);
            if (!_0x582b26)
                return console['log']('[wechat|L760]', '找不到\x20发现'), _0x5d27f7;
            if (!_0x13a56b['superclick'](_0x582b26))
                return _0x5d27f7;
            _0x13a56b['randomWait'](0xaf0, 0xc80), _0x582b26 = className('TextView')['text']('朋友圈')['findOne'](0x12c);
            if (!_0x582b26)
                return console['log']('[wechat|L774]', '没找到\x20朋友圈'), _0x5d27f7;
            if (!_0x13a56b['superclick'](_0x582b26))
                return _0x5d27f7;
            return _0x13a56b['randomWait'](0x708, 0x898), _0x5d27f7 = !![], console['log']('[wechat|L782]', '【标志】成功进入朋友圈'), _0x5d27f7;
        }, _0x113844['进入附近的人'] = function () {
            let _0x49a296 = _0x113844['waitForActivity']('NearbyUI', 0x1, !![]);
            if (_0x49a296)
                return toastLog('【标志】当前已处于\x20附近的人'), _0x49a296;
            console['log']('[wechat|L791]', '【标志】正在进入附近的人'), this['返回主界面']();
            let _0x46ce91;
            _0x46ce91 = this['getUiObj'](className('TextView')['text']('发现'));
            if (!_0x13a56b['superclick'](_0x46ce91))
                return console['log']('[wechat|L796]', '找不到\x20发现'), _0x49a296;
            _0x13a56b['randomWait'](0xaf0, 0xc80), _0x46ce91 = this['getUiObj']([
                text('附近'),
                text('直播和附近'),
                text('附近的人')
            ]);
            if (!_0x13a56b['superclick'](_0x46ce91))
                return console['log']('[wechat|L804]', '没找到\x20附近的人\x20的入口1'), _0x49a296;
            this['处理弹窗']('确定'), _0x46ce91 = this['getUiObj'](text('附近的人'));
            if (!_0x13a56b['superclick'](_0x46ce91))
                return console['log']('[wechat|L810]', '没找到\x20附近的人\x20的入口2'), _0x49a296;
            this['处理弹窗']([
                '确定',
                '我知道了'
            ]), _0x13a56b['randomWait'](0xaf0, 0xc80), _0x46ce91 = this['getUiObj']([
                text('附近的人'),
                className('Button')['text']('查看附近的人')
            ]);
            if (!_0x13a56b['superclick'](_0x46ce91))
                return console['log']('[wechat|L818]', '没找到\x20附近的人'), _0x49a296;
            return _0x49a296 = !![], console['log']('[wechat|L822]', '【标志】成功进入附近的人'), _0x49a296;
        }, _0x113844['进入首聊天窗口'] = function () {
            console['log']('[wechat|L826]', '【标志】正在进入\x20首聊天窗口'), this['返回主界面']();
            let _0x4beab9 = ![];
            this['scrollUp'](), _0x13a56b['randomWait'](0x708, 0x898);
            var _0x22c51c;
            _0x22c51c = text('我')['className']('TextView')['findOne'](0x12c);
            if (_0x22c51c) {
                if (!_0x13a56b['superclick'](_0x22c51c))
                    return _0x4beab9;
                _0x13a56b['randomWait'](0x708, 0x898), _0x22c51c = text('微信')['className']('TextView')['findOne'](0x12c);
                if (_0x22c51c) {
                    if (!_0x13a56b['superclick'](_0x22c51c))
                        return _0x4beab9;
                }
                _0x13a56b['randomWait'](0x708, 0x898);
            }
            _0x22c51c = depth(0x3)['className']('ListView')['findOne'](0x12c);
            if (_0x22c51c) {
                var _0x42f6a2 = 0x1;
                textContains('微信已登录')['exists']() && (_0x42f6a2 = 0x2);
                var _0x58815b = _0x22c51c['children'](), _0x335798 = 0x0, _0x3654f2, _0x4582fe, _0x382947, _0x27a245 = ![];
                for (let _0x16b706 = 0x0; _0x16b706 < _0x58815b['length']; _0x16b706++) {
                    _0x382947 = _0x58815b[_0x16b706], _0x3654f2 = (_0x382947['className']() || '')['toString'](), _0x4582fe = parseInt(_0x382947['bounds']()['height']()), console['log']('[wechat|L873]', 'className:' + _0x3654f2 + '\x20height:' + _0x4582fe);
                    _0x3654f2['indexOf']('LinearLayout') > -0x1 && _0x4582fe > 0xa && (_0x335798 += 0x1);
                    console['log']('[wechat|L877]', 'i=' + _0x16b706 + 'nowIdx=' + _0x335798 + 'idx=' + _0x42f6a2);
                    if (_0x42f6a2 === _0x335798) {
                        _0x27a245 = !![];
                        break;
                    }
                }
                if (!_0x27a245)
                    console['log']('[wechat|L884]', '找不到首聊天窗口');
                else {
                    console['log']('[wechat|L886]', '找到了首聊天窗口');
                    if (!_0x13a56b['click'](_0x382947)) {
                        var _0x7edb90 = 0x12c, _0x3e6490 = 0x1e, _0x3199fb = 0x0;
                        do {
                            _0x13a56b['clickByPos'](_0x382947, _0x7edb90), _0x13a56b['randomWait'](0x708, 0x898), _0x4beab9 = idContains('text1')['textContains']('微信')['exists'](), _0x4beab9 && (_0x3654f2('TextView')['text']('删除该聊天')['exists']() && (back(), _0x3e6490 = -_0x3e6490 / 0x2, _0x13a56b['randomWait'](0x514, 0x6a4))), _0x7edb90 += _0x3e6490, _0x3199fb++;
                        } while (!_0x4beab9 && _0x3199fb < 0xa);
                    } else
                        _0x13a56b['randomWait'](0x708, 0x898), _0x4beab9 = !idContains('text1')['textContains']('微信')['exists']();
                }
            }
            return _0x13a56b['randomWait'](0x708, 0x898), _0x4beab9;
        }, _0x113844['进入群聊天信息'] = function () {
            let [_0x5e5ee3, _0x5596ca] = [
                null,
                ![]
            ];
            _0x5e5ee3 = this['getUiObj']([
                desc('更多信息'),
                desc('聊天信息')
            ]);
            if (!_0x5e5ee3)
                return console['verbose']('找不到\x20聊天信息|更多信息'), _0x5596ca;
            if (!_0x13a56b['superclick'](_0x5e5ee3))
                return console['verbose']('聊天信息|更多信息\x20点击失败'), _0x5596ca;
            _0x13a56b['randomWait'](0x384, 0x44c), _0x5e5ee3 = this['getUiObj'](className('TextView')['textContains']('聊天信息'));
            if (!_0x5e5ee3)
                return console['verbose']('未进入\x20聊天信息'), _0x5596ca;
            let _0x165a7b = (_0x5e5ee3['text']() || '')['toString']()['trim'](), _0x11113a = new RegExp('[0-9]+', 'g'), _0x10e3b3 = _0x165a7b['match'](_0x11113a);
            return _0x10e3b3 ? (console['verbose']('进入了\x20群聊天信息'), _0x5596ca = !![]) : console['verbose']('进入\x20好友聊天信息'), _0x5596ca;
        }, _0x113844['进入标签列表'] = function () {
            let _0x46d797 = ![];
            this['返回主界面'](), console['log']('[wechat|L957]', '【标志】正在进入标签列表');
            var _0x28ca3e = className('TextView')['text']('通讯录')['findOne'](0x12c);
            if (!_0x28ca3e)
                return console['log']('[wechat|L961]', '找不到\x20通讯录'), _0x46d797;
            _0x13a56b['superclick'](_0x28ca3e), _0x13a56b['superclick'](_0x28ca3e), _0x13a56b['randomWait'](0x384, 0x44c), _0x28ca3e = className('TextView')['text']('标签')['findOne'](0x12c);
            if (!_0x28ca3e)
                return console['log']('[wechat|L979]', '没找到\x20标签'), _0x46d797;
            if (!_0x13a56b['superclick'](_0x28ca3e))
                return _0x46d797;
            let _0x102dd7 = this['getPageName']();
            var _0x5e4fe6 = [
                '通讯录标签',
                '所有标签'
            ];
            return _0x46d797 = _0x5e4fe6['indexOf'](_0x102dd7) > -0x1, console['log']('[wechat|L997]', '【标志】进入标签列表' + (_0x46d797 ? '成功' : '失败')), _0x46d797;
        }, _0x113844['进入群聊列表'] = function () {
            let _0x485773 = _0x113844['waitForActivity']('ChatroomContactUI', 0x2, !![]);
            if (_0x485773)
                return toastLog('【标志】当前已处于\x20群聊'), _0x485773;
            _0x485773 = this['return2Find']('群聊');
            if (_0x485773)
                return toastLog('【标志】已成功返回\x20群聊'), _0x485773;
            console['log']('[wechat|L1015]', '【标志】正在进入群聊列表');
            let _0x48fc98 = className('TextView')['text']('通讯录')['findOne'](0x12c);
            if (!_0x48fc98)
                return console['log']('[wechat|L1019]', '找不到\x20通讯录'), _0x485773;
            _0x13a56b['superclick'](_0x48fc98), _0x13a56b['superclick'](_0x48fc98), _0x13a56b['randomWait'](0x8fc, 0xa8c), _0x48fc98 = className('TextView')['text']('群聊')['findOne'](0x12c);
            if (!_0x48fc98)
                return console['log']('[wechat|L1036]', '没找到\x20群聊'), _0x485773;
            if (!_0x13a56b['superclick'](_0x48fc98))
                return _0x485773;
            return _0x485773 = _0x113844['waitForActivity']('ChatroomContactUI', 0x1, !![]), !_0x485773 && (console['log']('[wechat|L1048]', 'Not\x20ChatroomContactUI'), _0x485773 = function (_0xfb5287) {
                let _0x1da346 = ![];
                while (_0xfb5287 > 0x0 && !_0x1da346) {
                    _0x1da346 = idContains('text1')['className']('TextView')['text']('群聊')['exists'](), _0x13a56b['randomWait'](0x190, 0x258), _0xfb5287--;
                }
                return _0x1da346;
            }(0x2)), console['info']('[wechat|L1060]', '进入群聊列表' + (_0x485773 ? '成功' : '失败')), _0x485773;
        }, _0x113844['进入指定群聊'] = function (_0x2b6b56) {
            let _0x29a55a = ![];
            if (!_0x2b6b56 || _0x2b6b56 == '')
                return console['error']('[wechat|L1066]', '未指定群聊,无法进入!!!'), _0x29a55a;
            _0x29a55a = this['intoPageBySearch'](_0x2b6b56);
            if (!_0x29a55a) {
                if (!this['进入群聊列表']())
                    return console['error']('[wechat|L1074]', '未能进入群聊列表'), _0x29a55a;
                this['scrollUp'](), _0x13a56b['randomWait'](0x708, 0x898);
                let _0x55928d, _0x5bdfc5 = 0x14;
                while (!_0x29a55a && _0x5bdfc5 > 0x0) {
                    _0x55928d = className('TextView')['text'](_0x2b6b56)['findOnce']();
                    if (!_0x55928d) {
                        if (className('TextView')['textContains']('个群聊')['exists']())
                            break;
                        _0x5bdfc5--, this['scroll']();
                        continue;
                    }
                    _0x13a56b['superclick'](_0x55928d), _0x29a55a = this['waitForPage'](_0x2b6b56);
                }
            }
            return console['info']('[wechat|L1097]', '进入指定群聊\x22' + _0x2b6b56 + '\x22' + (_0x29a55a ? '成功' : '失败')), _0x29a55a;
        }, _0x113844['进入发起群聊'] = function () {
            let _0x5542c3 = ![];
            if (!this['返回主界面']())
                return toastLog('【标志】未能成功返回\x20主界面'), _0x5542c3;
            console['log']('[wechat|L1111]', '【标志】正在进入\x20发起群聊');
            let _0x5b5dce = null, _0x531255 = 0x3;
            while (_0x531255 > 0x0) {
                _0x5b5dce = className('RelativeLayout')['desc']('更多功能按钮')['findOnce']();
                if (!_0x5b5dce)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x531255--;
                else
                    break;
            }
            if (!_0x5b5dce)
                return console['log']('[wechat|L1124]', '找不到\x20更多功能按钮'), _0x5542c3;
            if (!_0x13a56b['superclick'](_0x5b5dce))
                return _0x5542c3;
            _0x531255 = 0x3;
            while (_0x531255 > 0x0) {
                _0x5b5dce = className('TextView')['text']('发起群聊')['findOnce']();
                if (!_0x5b5dce)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x531255--;
                else
                    break;
            }
            if (!_0x5b5dce)
                return console['log']('[wechat|L1146]', '找不到\x20发起群聊\x20按钮'), _0x5542c3;
            return _0x5542c3 = _0x13a56b['superclick'](_0x5b5dce), console['info']('[wechat|L1156]', '【标志】进入发起群聊' + (_0x5542c3 ? '成功' : '失败')), _0x5542c3;
        }, _0x113844['intoSearchFriendNew'] = function () {
            let _0x2a22b9 = ![];
            toastLog('【标志】正在尝试以新的方式进入\x20搜索添加');
            if (!this['进入新的朋友']())
                return console['log']('[wechat|L1167]', '【标志】未能成功进入\x20新的朋友'), _0x2a22b9;
            _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x259cb7 = [
                    textContains('/手机号'),
                    textStartsWith('微信号/'),
                    idContains('j75'),
                    idContains('j69'),
                    idContains('j7e'),
                    idContains('j6i')
                ], _0x5934d1 = this['getUiObjByList'](_0x259cb7);
            return _0x5934d1 ? (_0x13a56b['superclick'](_0x5934d1), _0x13a56b['randomWait'](0x384, 0x44c), _0x2a22b9 = this['getUiObj'](className('EditText')), !_0x2a22b9 && console['log']('[wechat|L1192]', '[提示]找不到输入框')) : console['log']('[wechat|L1195]', '找不到\x20账号/微信号/手机号\x20或\x20点击失败'), toastLog('【标志】进入搜索添加' + (_0x2a22b9 ? '成功' : '失败')), _0x2a22b9;
        }, _0x113844['getChatroomData'] = function (_0x2009a8) {
            this['启动']();
            let _0x324e12 = {};
            _0x324e12['wxid'] = this['getWxId']();
            let _0x5ef7e1 = {}, _0x57461a = [], _0x57b584 = '';
            for (let _0x2d3d70 = 0x0; _0x2d3d70 < _0x2009a8['length']; _0x2d3d70++) {
                let _0x357e51 = _0x2009a8[_0x2d3d70];
                if (this['进入指定群聊'](_0x357e51)) {
                    let _0x2ac537 = this['群聊获取人数'](_0x357e51);
                    !_0x5ef7e1[_0x2ac537] && (_0x5ef7e1[_0x2ac537] = []), _0x5ef7e1[_0x2ac537]['push'](_0x357e51), _0x57b584 = '群名：' + _0x357e51 + ',人数:' + _0x2ac537, _0x57461a['push'](_0x57b584), toast(_0x57b584);
                }
            }
            return console['info']('[wechat|L1224]', '微信号:' + _0x324e12['wxid'] + ',群聊数据如下：\x0a' + _0x57461a['join']('|')), _0x324e12['list'] = _0x5ef7e1, _0x324e12;
        }, _0x113844['群发群聊'] = function (_0x5336f7, _0x348b33) {
            this['启动']();
            const {
                chatroomIdxMulti: _0x2d69d7,
                contents: _0x3aa4ab
            } = _0x5336f7;
            let _0x456cc5 = _0x2d69d7 != '' ? _0x2d69d7['split'](',') : [], _0x23d953 = _0x348b33['filter'](function (_0x13e07e) {
                    return _0x456cc5['indexOf'](_0x13e07e) == -0x1;
                }), _0x50c232 = [], _0x2987fa = [];
            for (let _0x3b3cf5 = 0x0; _0x3b3cf5 < _0x23d953['length']; _0x3b3cf5++) {
                let _0x28c6df = _0x23d953[_0x3b3cf5];
                if (!this['进入指定群聊'](_0x28c6df)) {
                    _0x2987fa['push'](_0x28c6df);
                    continue;
                }
                if (!this['sendMsg'](_0x3aa4ab)) {
                    console['log']('[wechat|L1247]', '群聊' + _0x28c6df + '发消息消息失败'), _0x2987fa['push'](_0x28c6df);
                    continue;
                }
                _0x13a56b['randomWait'](0x76c, 0xc1c), _0x50c232['push'](_0x28c6df);
            }
            let _0x78e4fb = ['群发群聊功能,执行完毕,统计如下:'];
            return _0x50c232['length'] > 0x0 && _0x78e4fb['push']('群发成功:' + _0x50c232['join']('|')), _0x2987fa['length'] > 0x0 && _0x78e4fb['push']('群发失败:' + _0x2987fa['join']('|')), toast(_0x78e4fb['join']('\x0a')), console['info']('[wechat|L1258]', _0x78e4fb['join']('\x0a')), !![];
        }, _0x113844['redWar'] = function () {
            let _0x2cd645 = -0x1, _0x27ef2e, _0x24eab4, _0x1957de;
            _0x27ef2e = 0x0, _0x1957de = 0x3;
            let _0x27da0f = 0x384, _0x4078b3 = 0x44c;
            while (_0x1957de > 0x0) {
                _0x27ef2e > 0x0 && _0x13a56b['randomWait'](_0x27da0f, _0x4078b3);
                _0x27ef2e++;
                let _0x5e1f7a = className('ImageView')['descContains']('头像')['find']();
                if (!_0x5e1f7a || _0x5e1f7a['length'] == 0x0) {
                    toast('当前聊天窗口未发现消息~'), console['info']('[wechat|L1285]', '当前聊天窗口未发现消息~'), this['scroll']();
                    continue;
                }
                console['verbose']('ImageViewList.length:' + _0x5e1f7a['length']);
                let _0x2f04e6 = [];
                for (let _0x4a4db0 = 0x0; _0x4a4db0 < _0x5e1f7a['length']; _0x4a4db0++) {
                    let _0x4d6b0e = _0x5e1f7a[_0x4a4db0]['parent']()['children']()['filter'](function (_0x1ca239) {
                        if (!_0x1ca239 || !_0x1ca239['className'])
                            return ![];
                        if (_0x1ca239['className']()['indexOf']('FrameLayout') > -0x1)
                            return !![];
                        return ![];
                    });
                    _0x4d6b0e['length'] > 0x0 && _0x2f04e6['push'](_0x4d6b0e[0x0]);
                }
                if (!_0x2f04e6 || _0x2f04e6['length'] == 0x0) {
                    toast('当前聊天窗口不存在可点击链接~'), console['info']('[wechat|L1309]', '当前聊天窗口不存在可点击链接~');
                    break;
                }
                console['verbose']('FrameLayoutList.length:' + _0x2f04e6['length']);
                let _0x23fb65 = [];
                for (let _0x41a339 = 0x0; _0x41a339 < _0x2f04e6['length']; _0x41a339++) {
                    let _0x539bbb = _0x2f04e6[_0x41a339]['children']()['filter'](function (_0x4f58d5) {
                        if (!_0x4f58d5 || !_0x4f58d5['className'])
                            return ![];
                        if (_0x4f58d5['className']()['indexOf']('TextView') > -0x1 && _0x4f58d5['text']() == '微信红包')
                            return !![];
                        return ![];
                    });
                    _0x539bbb['length'] > 0x0 && _0x23fb65['push'](_0x539bbb[0x0]['parent']());
                }
                _0x23fb65 = _0x23fb65['filter'](function (_0x287beb) {
                    let _0x497365 = _0x287beb['children']()['filter'](function (_0x21cdeb) {
                        if (!_0x21cdeb || !_0x21cdeb['className'])
                            return ![];
                        if (_0x21cdeb['className']()['indexOf']('TextView') == -0x1)
                            return ![];
                        if (_0x21cdeb['text']() == '已领取')
                            return !![];
                        else {
                            if (_0x21cdeb['text']() == '已被领完')
                                return !![];
                        }
                        return ![];
                    });
                    return _0x497365['length'] > 0x0 ? ![] : !![];
                });
                if (!_0x23fb65 || _0x23fb65['length'] == 0x0) {
                    toast('当前聊天窗口不存在可领取的微信红包~'), console['info']('[wechat|L1347]', '当前聊天窗口不存在可领取的微信红包~');
                    break;
                }
                _0x2cd645 = _0x2cd645 == -0x1 ? 0x0 : _0x2cd645, console['verbose']('GroupMsgList.length:' + _0x23fb65['length']);
                while (_0x23fb65['length'] > 0x0) {
                    _0x24eab4 = _0x23fb65['pop'](), _0x13a56b['superclick'](_0x24eab4);
                    let _0x5df872 = 0x3;
                    while (_0x5df872 > 0x0) {
                        _0x24eab4 = className('Button')['desc']('开')['findOne'](0x12c);
                        if (_0x24eab4)
                            break;
                        _0x5df872--, _0x13a56b['randomWait'](0x384, 0x44c);
                    }
                    if (!_0x24eab4)
                        _0x24eab4 = className('TextView')['text']('手慢了，红包派完了')['findOne'](0x12c), _0x24eab4 && this['返回'](0x1);
                    else {
                        _0x13a56b['superclick'](_0x24eab4), _0x5df872 = 0x3;
                        while (_0x5df872 > 0x0) {
                            _0x24eab4 = className('TextView')['textStartsWith']('已存入')['findOne'](0x12c);
                            if (_0x24eab4) {
                                _0x2cd645 += 0x1, _0x13a56b['randomWait'](_0x27da0f, _0x4078b3), this['返回'](0x1);
                                break;
                            } else
                                _0x24eab4 = className('TextView')['text']('手慢了，红包派完了')['findOne'](0x12c);
                            if (_0x24eab4) {
                                this['返回'](0x1);
                                break;
                            }
                            _0x5df872--;
                        }
                    }
                }
            }
            if (_0x2cd645 < 0x0)
                toast('未发现红包'), console['warn']('[wechat|L1397]', '未发现红包');
            else
                _0x2cd645 == 0x0 ? (toast('未抢到红包'), console['warn']('[wechat|L1400]', '未抢到红包')) : (toast('抢到' + _0x2cd645 + '个红包!'), console['info']('[wechat|L1403]', '抢到' + _0x2cd645 + '个红包!'));
            return _0x2cd645;
        }, _0x113844['huanqun'] = function (_0x112da1, _0xa56310, _0x25e10a) {
            let _0x552a16 = {
                    'chatroom0': null,
                    'chatroom1': null
                }, _0x2dcde3 = [], _0x4117db = _0xa56310['chatroomNickname'];
            console['log']('[wechat|L1421]', '入群昵称设置为:' + _0x4117db);
            let _0x3a014f = _0x112da1, {chatroomIdxMulti: _0x397940} = _0xa56310, _0xeb6b8a = _0x397940 != '' ? _0x397940['split'](',') : [], _0x329e12 = [_0x3a014f]['map'](function (_0x5b322c) {
                    let _0x51fc16 = '群聊记录_' + _0x5b322c, _0x102159 = '', _0x438c08 = this['getRecords'](_0x102159, _0x51fc16);
                    return _0x438c08;
                }), _0x42d3c8 = _0xeb6b8a['concat'](_0x329e12[0x0]);
            _0x42d3c8 = _0x42d3c8['filter'](function (_0xdba64, _0x19433d) {
                return _0x42d3c8['indexOf'](_0xdba64) == _0x19433d;
            }), console['verbose']('untargetChatroomList:' + _0x42d3c8['join']('|'));
            const _0x1c368a = function (_0x414d08, _0x1cb1f8) {
                    let _0x1a9ad9 = [_0x414d08];
                    for (let _0x2c8b8d in _0x1cb1f8) {
                        _0x1a9ad9['push'](parseInt(_0x2c8b8d));
                    }
                    _0x1a9ad9['sort']();
                    let _0x4a6da6 = [];
                    while (_0x1a9ad9['length'] > 0x1) {
                        let _0x505928 = _0x1a9ad9['indexOf'](_0x414d08);
                        if (_0x505928 == 0x0) {
                            _0x1a9ad9['shift'](), _0x4a6da6 = _0x4a6da6['concat'](_0x1a9ad9);
                            break;
                        } else {
                            if (_0x505928 == _0x1a9ad9['length'] - 0x1) {
                                _0x1a9ad9['pop'](), _0x4a6da6 = _0x4a6da6['concat'](_0x1a9ad9['reverse']());
                                break;
                            }
                        }
                        let _0x3f7a14 = _0x1a9ad9[_0x505928 - 0x1], _0x133e8e = _0x1a9ad9[_0x505928 + 0x1];
                        Math['abs'](_0x3f7a14 - _0x414d08) <= Math['abs'](_0x133e8e - _0x414d08) ? (_0x1a9ad9['splice'](_0x505928 - 0x1, 0x1), _0x4a6da6['push'](_0x3f7a14)) : (_0x1a9ad9['splice'](_0x505928 + 0x1, 0x1), _0x4a6da6['push'](_0x133e8e));
                    }
                    let _0x55dd35 = [];
                    for (let _0x1f08ee = 0x0; _0x1f08ee < _0x4a6da6['length']; _0x1f08ee++) {
                        let _0x39b1dc = _0x4a6da6[_0x1f08ee];
                        _0x1cb1f8[_0x39b1dc] ? _0x55dd35 = _0x55dd35['concat'](_0x1cb1f8[_0x39b1dc]) : console['verbose']('不存在群人数为' + _0x39b1dc + '群');
                    }
                    return console['verbose'](_0x4a6da6['join']('|')), console['verbose'](_0x55dd35['join']('|')), _0x55dd35;
                }, _0x206535 = function (_0x20aaf1, _0x736c20, _0x39c8ab) {
                    let _0x4646cc = _0x1c368a(_0x20aaf1, _0x39c8ab), _0x488cae = _0x4646cc['filter'](function (_0x1ed576) {
                            return _0x736c20['indexOf'](_0x1ed576) == -0x1;
                        });
                    return _0x488cae;
                };
            let _0x3ea63b, _0x51b135, _0x53b220, _0x2f5116 = !![];
            _0x3ea63b = 0x0, _0x53b220 = 0x4;
            let _0x2fafaa = 0x384, _0x2a34f3 = 0x44c;
            while (_0x53b220 > 0x0) {
                _0x3ea63b > 0x0 && _0x13a56b['randomWait'](_0x2fafaa, _0x2a34f3);
                let _0x3ed795 = className('ImageView')['desc'](_0x112da1 + '头像')['find']();
                if (!_0x3ed795 || _0x3ed795['length'] == 0x0) {
                    toast('当前聊天窗口未发现对方的发送的消息~'), console['info']('[wechat|L1519]', '当前聊天窗口未发现对方的发送的消息~');
                    break;
                }
                console['verbose']('ImageViewList.length:' + _0x3ed795['length']);
                let _0x5337e6 = [];
                for (let _0x28a11c = 0x0; _0x28a11c < _0x3ed795['length']; _0x28a11c++) {
                    let _0x3dad4e = _0x3ed795[_0x28a11c]['parent']()['children']()['filter'](function (_0x5734d) {
                        if (!_0x5734d || !_0x5734d['className'])
                            return ![];
                        if (_0x5734d['className']()['indexOf']('FrameLayout') > -0x1)
                            return !![];
                        return ![];
                    });
                    _0x3dad4e['length'] > 0x0 && _0x5337e6['push'](_0x3dad4e[0x0]);
                }
                if (!_0x5337e6 || _0x5337e6['length'] == 0x0) {
                    toast('当前聊天窗口不存在可点击链接~'), console['info']('[wechat|L1542]', '当前聊天窗口不存在可点击链接~');
                    break;
                }
                console['verbose']('FrameLayoutList.length:' + _0x5337e6['length']);
                let _0xbca743 = [];
                for (let _0x4df06e = 0x0; _0x4df06e < _0x5337e6['length']; _0x4df06e++) {
                    let _0x464aff = _0x5337e6[_0x4df06e]['children']()['filter'](function (_0x2d8efe) {
                        if (!_0x2d8efe || !_0x2d8efe['className'])
                            return ![];
                        if (_0x2d8efe['className']()['indexOf']('TextView') > -0x1 && _0x2d8efe['text']() == '邀请你加入群聊')
                            return !![];
                        return ![];
                    });
                    _0x464aff['length'] > 0x0 && _0xbca743['push'](_0x464aff[0x0]['parent']());
                }
                if (!_0xbca743 || _0xbca743['length'] == 0x0) {
                    toast('当前聊天窗口不存在群邀请链接~'), console['info']('[wechat|L1563]', '当前聊天窗口不存在群邀请链接~');
                    break;
                }
                console['verbose']('GroupMsgList.length:' + _0xbca743['length']), _0x51b135 = _0xbca743['pop']();
                if (!_0x2f5116) {
                    console['log']('[wechat|L1571]', 'isFirstTime:' + _0x2f5116), _0x13a56b['clickByPos'](_0x51b135, 0xdac), _0x13a56b['randomWait'](0x708, 0x898);
                    var _0x504164 = className('TextView')['text']('删除')['findOne'](0x12c);
                    if (_0x504164)
                        _0x13a56b['superclick'](_0x504164), _0x13a56b['randomWait'](0x384, 0x44c), _0x504164 = className('Button')['text']('删除')['findOne'](0x12c), _0x504164 && _0x13a56b['superclick'](_0x504164);
                    else {
                        var _0x4882c7 = className('TextView')['text']('撤回')['findOne'](0x12c);
                        _0x4882c7 && _0x13a56b['superclick'](_0x4882c7);
                    }
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x2f5116 = !![];
                    continue;
                }
                _0x2f5116 = ![], _0x53b220 = 0x4, _0x13a56b['superclick'](_0x51b135);
                if (_0x113844['waitForActivity']('WebViewUI', 0x4, !![])) {
                    while (desc('progressBar')['exists']()) {
                        _0x13a56b['randomWait'](0x384, 0x44c), console['verbose']('网页加载中~');
                    }
                    let _0x4d733a = 0x3;
                    while (_0x4d733a > 0x0) {
                        _0x51b135 = text('加入群聊')['findOne'](0x12c);
                        if (_0x51b135)
                            break;
                        _0x4d733a--, _0x13a56b['randomWait'](0x384, 0x44c);
                    }
                    if (!_0x51b135)
                        _0x51b135 = text('二维码已过期')['findOne'](0x12c), _0x51b135 ? console['warn']('[wechat|L1620]', '二维码已过期') : _0x51b135 = text('你已接受邀请')['findOne'](0x12c), _0x51b135 ? console['warn']('[wechat|L1625]', '你已接受邀请') : console['warn']('[wechat|L1627]', '找不到加入该群聊按钮!'), this['返回'](0x1);
                    else {
                        _0x13a56b['superclick'](_0x51b135), _0x3ea63b++, _0x113844['waitForActivity']('ChattingUI|LauncherUI', 0x3, !![]), _0x13a56b['randomWait'](0xce4, 0xe74);
                        let _0x3f5eec = this['群聊获取基础信息'](), _0x45ccb5 = JSON['parse'](JSON['stringify'](_0x552a16));
                        _0x2dcde3['push'](_0x45ccb5), _0x45ccb5['chatroom0'] = _0x3f5eec;
                        let _0x1f99f9 = _0x3f5eec['num'];
                        this['群聊设置参数'](_0x4117db), console['info']('[wechat|L1646]', '所邀群聊人数' + _0x1f99f9);
                        if (_0x1f99f9 > 0x0) {
                            let _0x3d7a85 = _0x206535(_0x1f99f9, _0x42d3c8, _0x25e10a);
                            if (_0x3d7a85['length'] == 0x0)
                                console['error']('[wechat|L1650]', '不存在可以与微信好友' + _0x3a014f + '交换的微信群~\x0a具体情况可以查看“群聊记录_' + _0x3a014f + '.csv”');
                            else {
                                console['info']('[wechat|L1652]', '当前可供交换的微信群数量为:' + _0x3d7a85['length'] + ',具体是:' + _0x3d7a85['join'](','));
                                while (_0x3d7a85['length'] > 0x0) {
                                    let _0x406ff6 = _0x3d7a85['shift']();
                                    if (!this['进入指定群聊'](_0x406ff6)) {
                                        console['error']('[wechat|L1656]', '进入指定群聊:' + _0x406ff6 + '失败！');
                                        break;
                                    }
                                    let _0x34a793 = this['群聊获取基础信息'](), _0x4c60f1 = this['拉好友入群']([_0x3a014f], _0x329e12, _0x406ff6);
                                    _0x329e12[0x0]['unshift'](_0x406ff6);
                                    if (_0x4c60f1[0x0] == 0x1) {
                                        console['info']('[wechat|L1665]', '拉好友:' + _0x3a014f + ',进入指定群聊:' + _0x406ff6 + '成功！'), _0x45ccb5['chatroom1'] = _0x34a793;
                                        break;
                                    }
                                }
                            }
                        }
                    }
                }
                if (!this['intoPageBySearch'](_0x3a014f)) {
                    console['error']('[wechat|L1677]', '重新回到聊天窗口失败,程序正在返回');
                    break;
                }
            }
            let _0x247ea9 = ![];
            if (_0x2dcde3['length'] == 0x0)
                toast('与微信好友“' + _0x3a014f + '”的换群失败~'), console['warn']('[wechat|L1684]', '与微信好友“' + _0x3a014f + '”的换群失败~');
            else {
                _0x247ea9 = !![];
                let _0x489d2b = ['与微信好友“' + _0x3a014f + '”的换群操作已执行完毕~统计如下:'];
                for (let _0x572b66 = 0x0; _0x572b66 < _0x2dcde3['length']; _0x572b66++) {
                    let _0x2825f9 = _0x2dcde3[_0x572b66], _0x5cdca3 = _0x2825f9['chatroom0'], _0x5cb944 = _0x2825f9['chatroom1'], _0x2e922a = (_0x5cb944 ? '换群成功' : '换群部分成功') + '|[进群]' + _0x5cdca3['name'] + '(' + _0x5cdca3['num'] + ')';
                    _0x2e922a += '&[换群]' + (_0x5cb944 ? _0x5cb944['name'] + '(' + _0x5cb944['num'] + ')' : '为空'), _0x489d2b['push'](_0x2e922a);
                }
                toast(_0x489d2b['join']('\x0a')), console['info']('[wechat|L1697]', _0x489d2b['join']('\x0a'));
            }
            return _0x247ea9;
        }, _0x113844['拉好友入群批量byLabel'] = function (_0x32efd5, _0x6f8786) {
            let {labelIdx: _0xa8a021} = _0x32efd5, _0x7b405b = _0xa8a021['split']('|');
            if (_0xa8a021 == '') {
                _0x13a56b['toastError']('未设置要拉入群的标签!请设置后重新运行！');
                return;
            }
            !_0x6f8786 || _0x6f8786['length'] == 0x0 ? (console['log']('[wechat|L1711]', '未获取当前微信的群聊列表,正在获取'), _0x6f8786 = this['获取群聊列表']()) : this['启动']();
            let _0xbaca4 = [];
            for (let _0x16d20b = 0x0; _0x16d20b < _0x7b405b['length']; _0x16d20b++) {
                let _0x20c1a7 = _0x7b405b[_0x16d20b], _0x2d7b5a = this['getFriendsByLabel'](_0x20c1a7);
                _0xbaca4 = _0xbaca4['concat'](_0x2d7b5a);
            }
            return _0xbaca4 = _0x5b9539(_0xbaca4), _0x32efd5['friendIdx'] = _0xbaca4['join']('|'), this['拉好友入群批量'](_0x32efd5, _0x6f8786);
        }, _0x113844['拉好友入群批量'] = function (_0x4380be, _0x2211f6) {
            let {
                chatroomIdxMulti: _0x11246b,
                chatroomNumMin: _0x44a020,
                chatroomNumMax: _0x54a2d8,
                allNum: _0x2d7b3c,
                friendIdx: _0x2dee43,
                reason: _0x2ad0bf
            } = _0x4380be;
            console['verbose']('friendIdx:' + _0x2dee43);
            let _0x17c6ef = _0x2dee43 != '' ? _0x2dee43['split']('|') : [];
            if (_0x17c6ef['length'] == 0x0) {
                console['error']('[wechat|L1734]', '未设置要拉入群的好友名单!请设置后重新运行！');
                return;
            }
            if (!_0x2211f6 || _0x2211f6['length'] == 0x0) {
                console['error']('[wechat|L1738]', '运行此功能前,请先获取当前微信号的群聊列表~');
                return;
            }
            this['启动']();
            let _0x3570f0 = _0x17c6ef['map'](function () {
                    return [];
                }), _0x499ef1 = _0x17c6ef['map'](function () {
                    return 0x0;
                }), _0x5dd055 = _0x17c6ef['map'](function (_0xde541e) {
                    let _0x242809 = '群聊记录_' + _0xde541e, _0x62696 = '', _0x19bbbe = this['getRecords'](_0x62696, _0x242809);
                    return _0x19bbbe;
                }), _0x351071 = _0x11246b != '' ? _0x11246b['split'](',') : [], _0xeb3699 = _0x2211f6['filter'](function (_0x444f5c) {
                    return _0x351071['indexOf'](_0x444f5c) == -0x1;
                });
            _0x2d7b3c = _0x2d7b3c > _0xeb3699['length'] ? _0xeb3699['length'] : _0x2d7b3c;
            while (_0xeb3699['length'] > 0x0 && _0x2d7b3c > 0x0) {
                let _0x4a3781 = _0xeb3699['shift']();
                if (!this['进入指定群聊'](_0x4a3781)) {
                    console['verbose']('!this.进入指定群聊(' + _0x4a3781 + ')');
                    continue;
                }
                let _0x269ec9 = this['群聊获取人数'](_0x4a3781);
                if (_0x269ec9 < _0x44a020 || _0x269ec9 > _0x54a2d8) {
                    console['info']('[wechat|L1780]', '当前群聊:' + _0x4a3781 + ',人数' + _0x269ec9 + '不符合要求(' + _0x44a020 + '~' + _0x54a2d8 + '),略过~');
                    continue;
                }
                _0x2d7b3c -= 0x1;
                let _0x171539 = this['拉好友入群'](_0x17c6ef, _0x5dd055, _0x4a3781, _0x2ad0bf), _0x3db865 = 0x0;
                for (let _0xefaf9a = 0x0; _0xefaf9a < _0x171539['length']; _0xefaf9a++) {
                    if (_0x171539[_0xefaf9a] == 0x1)
                        _0x3570f0[_0xefaf9a] && _0x3570f0[_0xefaf9a]['push'](_0x4a3781 + '(' + _0x269ec9 + ')'), _0x499ef1[_0xefaf9a] += _0x269ec9;
                    else
                        _0x171539[_0xefaf9a] == 0x2 && (_0x3db865 += 0x1);
                }
                _0x3db865 == _0x171539['length'] && (console['info']('[wechat|L1795]', '待邀请的朋友全部已在此群!'), _0x2d7b3c += 0x1), _0x13a56b['randomWait'](0x384, 0x834);
            }
            for (let _0x1fdf76 = 0x0; _0x1fdf76 < _0x17c6ef['length']; _0x1fdf76++) {
                let _0x4f6d24 = _0x17c6ef[_0x1fdf76], _0x150860 = _0x3570f0[_0x1fdf76], _0xcabe7b = '好友' + _0x4f6d24 + ',成功邀请入群:' + _0x150860['join']('|') + ',共' + _0x150860['length'] + '个群,总人数:' + _0x499ef1[_0x1fdf76];
                toast(_0xcabe7b), console['info']('[wechat|L1805]', _0xcabe7b), _0x13a56b['randomWait'](0x7d0, 0x834);
            }
            return;
        }, _0x113844['拉好友入群'] = function (_0xde7833, _0x2ea471, _0x36dbd9, _0x38efee) {
            _0x38efee = _0x38efee ? String(_0x38efee) : '', _0xde7833 = []['concat'](_0xde7833);
            let _0x19b927 = _0xde7833['map'](function () {
                return 0x0;
            });
            if (!this['进入群聊天信息']())
                return console['error']('[wechat|L1824]', '【标志】未成功进入群聊天信息'), _0x19b927;
            let _0x16e29e = 0x3, _0x1db766 = null;
            while (_0x16e29e > 0x0) {
                _0x1db766 = className('ImageView')['desc']('添加成员')['findOne'](0x12c);
                if (!_0x1db766)
                    this['scroll'](), _0x16e29e--;
                else
                    break;
            }
            if (!_0x1db766)
                return console['error']('[wechat|L1840]', '无法找到\x22添加成员\x22按钮'), _0x19b927;
            if (!_0x36dbd9) {
                _0x36dbd9 = '', _0x16e29e = 0x3;
                while (_0x16e29e > 0x0) {
                    let _0x4d3f61 = idContains('summary')['className']('TextView')['findOnce']();
                    if (!_0x4d3f61)
                        _0x13a56b['randomWait'](0x384, 0x44c), _0x16e29e--;
                    else {
                        _0x36dbd9 = _0x4d3f61['text']();
                        break;
                    }
                }
            }
            console['verbose']('当前群聊名：' + _0x36dbd9);
            for (let _0x169e71 = 0x0; _0x169e71 < _0x2ea471['length']; _0x169e71++) {
                _0x2ea471[_0x169e71]['indexOf'](_0x36dbd9) > -0x1 && (_0x19b927[_0x169e71] = -0x1);
            }
            _0x19b927 = _0x19b927['map'](function (_0x13f499, _0x42d09d) {
                let _0x152591 = _0xde7833[_0x42d09d];
                return _0x13f499 = className('TextView')['text'](_0x152591)['exists']() ? 0x2 : 0x0, _0x13f499 == 0x2 && console['log']('[wechat|L1872|C\x20->\x20flagList]', '好友“' + _0x152591 + '”已在本群,无需拉入!'), _0x13f499;
            });
            if (_0x19b927['indexOf'](0x0) == -0x1)
                return console['info']('[wechat|L1879]', '群聊:“' + _0x36dbd9 + '”,待邀请的朋友全部已在此群或已有记录!'), this['updateChatroomRecords'](_0xde7833, _0x19b927, _0x36dbd9), this['返回'](0x1), _0x19b927;
            _0x13a56b['superclick'](_0x1db766);
            if (_0x113844['waitForActivity']('SelectContactUI', 0x2, !![]) || this['waitForPage']('选择联系人', 0x2)) {
                let _0x104abd = -0x1;
                while (_0x104abd < _0xde7833['length'] - 0x1) {
                    _0x104abd++;
                    let _0x88282f = _0xde7833[_0x104abd];
                    if (_0x19b927[_0x104abd] < 0x0 || _0x19b927[_0x104abd] == 0x2)
                        continue;
                    _0x13a56b['randomWait'](0x578, 0x640), _0x1db766 = className('EditText')['findOne'](0x12c);
                    if (!_0x1db766 && !_0x13a56b['inputSimple'](_0x88282f)) {
                        console['warn']('[wechat|L1898]', '找不到输入框');
                        break;
                    }
                    if (!_0x13a56b['input'](_0x1db766, _0x88282f)) {
                        console['warn']('[wechat|L1902]', _0x88282f + '输入失败');
                        break;
                    }
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x1db766 = className('TextView')['text'](_0x88282f)['findOne'](0x12c);
                    !_0x1db766 && (_0x1db766 = className('TextView')['textContains'](_0x88282f)['findOne'](0x12c));
                    if (!_0x1db766) {
                        console['error']('[wechat|L1912]', '找不到准备拉群的好友' + _0x88282f);
                        continue;
                    }
                    let _0x569cc1 = _0x1db766['parent']()['children']()['filter'](function (_0x48c8ef) {
                        if (!_0x48c8ef || !_0x48c8ef['className'])
                            return ![];
                        return _0x48c8ef['className']()['indexOf']('CheckBox') > -0x1;
                    });
                    if (_0x569cc1 && _0x569cc1['length'] == 0x0) {
                        console['error']('[wechat|L1925]', '未找到checkbox');
                        continue;
                    }
                    if (_0x569cc1[0x0]['checked']()) {
                        console['info']('[wechat|L1929]', '好友“' + _0x88282f + '”已在本群,无需拉入!'), _0x19b927[_0x104abd] = 0x2;
                        continue;
                    }
                    _0x19b927[_0x104abd] = 0x1, console['info']('[wechat|L1934]', '好友“' + _0x88282f + '”已选中!'), _0x13a56b['superclick'](_0x569cc1[0x0]);
                }
                let _0x300b4b = 0x3;
                _0x1db766 = null;
                while (_0x300b4b > 0x0 && !_0x1db766) {
                    _0x300b4b -= 0x1, _0x1db766 = className('Button')['textStartsWith']('确定')['clickable'](!![])['findOnce'](), _0x13a56b['randomWait'](0x384, 0x44c);
                }
                if (!_0x1db766)
                    console['error']('[wechat|L1945]', '找不到确定按钮,无法发送邀请!'), _0x19b927 = _0x19b927['map'](function (_0x1a26d9) {
                        if (_0x1a26d9 < 0x0)
                            return _0x1a26d9;
                        return _0x1a26d9 = 0x0, _0x1a26d9;
                    });
                else {
                    _0x13a56b['superclick'](_0x1db766), _0x300b4b = 0x3;
                    while (_0x300b4b > 0x0) {
                        _0x13a56b['randomWait'](0x384, 0x44c), _0x300b4b -= 0x1, _0x1db766 = className('Button')['text']('邀请')['findOnce']();
                        if (_0x1db766) {
                            console['verbose']('发现并点击邀请!'), _0x13a56b['superclick'](_0x1db766), _0x300b4b = 0x3;
                            continue;
                        }
                        _0x1db766 = className('Button')['text']('确定')['findOnce']();
                        if (_0x1db766) {
                            console['verbose']('发现并点击确定!'), _0x13a56b['superclick'](_0x1db766);
                            continue;
                        }
                        _0x1db766 = className('Button')['text']('发送')['findOnce']();
                        if (_0x1db766) {
                            console['verbose']('需要填写邀请理由!');
                            let _0x4b5e27 = className('EditText')['findOne'](0x12c);
                            _0x4b5e27 && _0x13a56b['input'](_0x4b5e27, _0x38efee), _0x13a56b['randomWait'](0x384, 0x44c), _0x300b4b += 0x1, _0x19b927 = _0x19b927['map'](function (_0x341775) {
                                return _0x341775 == 0x1 ? 0x3 : _0x341775;
                            });
                            continue;
                        }
                    }
                }
            }
            return this['updateChatroomRecords'](_0xde7833, _0x19b927, _0x36dbd9), _0x19b927;
        }, _0x113844['updateChatroomRecords'] = function (_0x5ea761, _0xc67e43, _0x16dbd0) {
            const _0x16ef8f = [
                '邀请失败',
                '邀请成功',
                '已在此群',
                '等待通过'
            ];
            for (let _0x2d482f = 0x0; _0x2d482f < _0x5ea761['length']; _0x2d482f++) {
                let _0xa5d53d = _0xc67e43[_0x2d482f];
                if (_0xa5d53d >= 0x0) {
                    let _0x106105 = _0x5ea761[_0x2d482f], _0xf2e73d = '群聊记录_' + _0x106105, _0x4c787b = _0x16ef8f[_0xa5d53d];
                    this['addRecords']([_0x16dbd0], _0x4c787b, 'a', _0xf2e73d);
                }
            }
        }, _0x113844['批量建群'] = function (_0x2dd06f, _0xe3b4fe) {
            console['log']('[wechat|L2012]', '此次为单个标签建群数量为:', _0xe3b4fe);
            let {
                labelIdx: _0x14cb09,
                minTime: _0x1d332f,
                maxTime: _0x23c69c,
                groupNum: _0x5a970a,
                groupTime: _0x4c6c97
            } = _0x2dd06f;
            if (_0x14cb09 == '') {
                _0x13a56b['toastError']('未设置要拉入群的标签!请设置后重新运行！');
                return;
            }
            _0x1d332f = _0x1d332f ? _0x1d332f * 0x3e8 : 0x0, _0x23c69c = _0x23c69c ? _0x23c69c * 0x3e8 : 0x0, _0x5a970a = _0x5a970a > 0x1 ? _0x5a970a : 0x2, _0x4c6c97 = _0x4c6c97 ? _0x4c6c97 * 0x3c : 0x0;
            var _0x48d139 = {
                'minTime': _0x1d332f,
                'maxTime': _0x23c69c,
                'groupNum': _0x5a970a,
                'groupTime': _0x4c6c97,
                'labelIdx': _0x14cb09
            };
            let _0x43d753 = _0x14cb09['split'](',');
            while (_0xe3b4fe > 0x0) {
                _0xe3b4fe--;
                for (let _0x3babde = 0x0; _0x3babde < _0x43d753['length']; _0x3babde++) {
                    _0x48d139['labelIdx'] = _0x43d753[_0x3babde];
                    try {
                        this['批量建群single'](_0x48d139);
                    } catch (_0x7611e9) {
                        console['log']('[wechat|L2041]', JSON['stringify'](_0x7611e9)), _0x113844['启动'](!![]);
                    }
                    _0x13a56b['randomWait'](_0x1d332f, _0x23c69c);
                }
            }
        }, _0x113844['批量建群single'] = function (_0x376596) {
            let {labelIdx: _0x491f23} = _0x376596, _0x239079 = ![];
            this['启动']();
            if (!this['进入发起群聊']())
                return console['log']('[wechat|L2055]', '【标志】未能成功进入\x20发起群聊'), _0x239079;
            _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x23799b = 0x3, _0x482077 = null;
            while (_0x23799b > 0x0) {
                _0x482077 = className('EditText')['text']('搜索')['findOnce']();
                if (!_0x482077)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x23799b--;
                else
                    break;
            }
            if (!_0x482077)
                return _0x13a56b['toastError']('【标志】无法进入标签组\x22' + _0x491f23 + '\x22选择页面\x20原因:找不到搜索输入框'), _0x239079;
            _0x13a56b['superclick'](_0x482077), _0x13a56b['randomWait'](0x384, 0x44c), _0x482077 = className('TextView')['text'](_0x491f23)['findOne'](0x12c);
            if (!_0x482077)
                return _0x13a56b['toastError']('【标志】无法进入' + _0x491f23 + '标签选择页面\x20原因:找不到该标签'), _0x239079;
            _0x13a56b['superclick'](_0x482077), _0x13a56b['randomWait'](0x4b0, 0x578);
            if (_0x113844['waitForActivity']('SelectLabelContactUI', 0x2, !![]) || idContains('text1')['className']('TextView')['text'](_0x491f23)['exists']())
                console['log']('[wechat|L2087]', '【标志】成功进入' + _0x491f23 + '标签选择页面');
            else
                return _0x13a56b['toastError']('【标志】无法进入' + _0x491f23 + '标签选择页面'), _0x239079;
            let _0x5275ac = 0x0;
            const _0x267458 = 0x28;
            do {
                let _0x107030 = className('CheckBox')['checked'](![])['find']();
                if (!_0x107030 || _0x107030['length'] == 0x0) {
                    console['log']('[wechat|L2101]', '找不到更多可以选中的好友啦!');
                    break;
                }
                for (let _0x492cae = 0x0; _0x492cae < _0x107030['length']; _0x492cae++) {
                    _0x5275ac += 0x1;
                    if (_0x5275ac > _0x267458)
                        break;
                    _0x13a56b['superclick'](_0x107030[_0x492cae]);
                }
                this['scroll']();
            } while (_0x5275ac < _0x267458);
            _0x23799b = 0x3;
            while (_0x23799b > 0x0) {
                _0x482077 = className('Button')['findOnce']();
                if (!_0x482077)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x23799b--;
                else
                    break;
            }
            if (!_0x482077)
                return _0x13a56b['toastError']('【标志】找不到确定按钮'), _0x239079;
            if (!_0x13a56b['superclick'](_0x482077))
                return _0x13a56b['toastError']('确定按钮点击失败'), _0x239079;
            return this['群聊设置参数']();
        }, _0x113844['群发消息给好友'] = function (_0x2e4c3b, _0x18a5a4, _0x1d9edd) {
            for (let _0x3e0688 = 0x0; _0x3e0688 < _0x2e4c3b['length']; _0x3e0688++) {
                let _0x5e4e4e = _0x2e4c3b[_0x3e0688];
                _0x13a56b['randomWait'](_0x18a5a4, _0x1d9edd), _0x5e4e4e && _0x113844['发消息给好友'](_0x5e4e4e, _0x113844['createRandomContent'](_0x5e4e4e));
            }
            return !![];
        }, _0x113844['发消息给好友'] = function (_0x4795c0, _0x4acb3c) {
            let _0x5d6a1a = ![];
            if (!this['intoPageBySearch'](_0x4795c0))
                return console['error']('[wechat|L2157]', '进入好友' + _0x4795c0 + '聊天窗口失败,程序正在返回'), _0x5d6a1a;
            if (!_0x113844['findOneAndHandle'](className('EditText'), 'input', { 'str': _0x4acb3c }))
                return console['error']('[wechat|L2165]', '找不到输入框或输入失败'), _0x5d6a1a;
            if (!_0x113844['findOneAndHandle'](text('发送'), 'click'))
                return console['error']('[wechat|L2169]', '找不到发送'), _0x5d6a1a;
            return console['info']('[wechat|L2172]', '好友' + _0x4795c0 + '消息发送成功,内容:' + _0x4acb3c), !![];
        }, _0x113844['群发消息'] = function (_0x21b34e) {
            let {
                labelIdx: _0x1f4bd0,
                contents: _0x395371,
                minTime: _0x579a42,
                maxTime: _0x9d3b13,
                groupNum: _0x219213,
                groupTime: _0x235c96
            } = _0x21b34e;
            if (_0x1f4bd0 == '') {
                _0x13a56b['toastError']('未设置要拉入群的标签!请设置后重新运行！');
                return;
            }
            _0x579a42 = _0x579a42 ? _0x579a42 * 0x3e8 : 0x0, _0x9d3b13 = _0x9d3b13 ? _0x9d3b13 * 0x3e8 : 0x0, _0x219213 = !_0x219213 ? 0xc8 : _0x219213 > 0xc8 ? 0xc8 : _0x219213 * 0x1, _0x235c96 = _0x235c96 ? _0x235c96 * 0x3c : 0x0, _0x21b34e = {
                'minTime': _0x579a42,
                'maxTime': _0x9d3b13,
                'groupNum': _0x219213,
                'groupTime': _0x235c96,
                'contents': _0x395371,
                'labelIdx': _0x1f4bd0
            };
            let _0x4ca017 = _0x1f4bd0['split']('|');
            if (_0x4ca017['length'] == 0x1)
                _0x113844['群发消息Single'](_0x21b34e);
            else
                for (let _0x2ae48d = 0x0; _0x2ae48d < _0x4ca017['length']; _0x2ae48d++) {
                    _0x21b34e['labelIdx'] = _0x4ca017[_0x2ae48d], _0x21b34e['isFromSelf'] = ![], _0x21b34e['contactArr'] = [], _0x21b34e['contactNum'] = 0x0, _0x113844['群发消息Single'](_0x21b34e);
                    if (_0x2ae48d < _0x4ca017['length'] - 0x1) {
                        if (!_0x57f1f1(_0x235c96, 0x1, !![]))
                            break;
                    }
                }
        }, _0x113844['群发消息Single'] = function (_0x338d9b) {
            let _0x379dc1 = ![], {
                    labelIdx: _0x2e5ec2,
                    contents: _0xd7ab7d,
                    groupNum: _0x5866f3,
                    minTime: _0x886e5b,
                    maxTime: _0x4281b1
                } = _0x338d9b;
            this['启动']();
            if (!this['进入群发助手']())
                return console['log']('[wechat|L2223]', '【标志】未能成功进入\x20群发助手'), _0x379dc1;
            _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x4d7d60 = 0x3, _0x1ea082 = null;
            while (_0x4d7d60 > 0x0) {
                _0x1ea082 = className('Button')['text']('新建群发')['findOnce']();
                if (!_0x1ea082)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x4d7d60--;
                else
                    break;
            }
            if (!_0x1ea082)
                return toastLog('【标志】无法进入群发页面\x20原因:找不到\x20新建群发'), _0x379dc1;
            _0x13a56b['superclick'](_0x1ea082);
            if (_0x113844['waitForActivity']('MassSendSelectContactUI', 0x2, !![]) || idContains('text1')['className']('TextView')['text']('选择收信人')['exists']())
                console['log']('[wechat|L2248]', '【标志】成功进入群发页面');
            else
                return console['log']('[wechat|L2250]', '【标志】无法进入群发页面\x20原因:点击未进入页面'), _0x379dc1;
            _0x4d7d60 = 0x3, _0x1ea082 = null;
            while (_0x4d7d60 > 0x0) {
                _0x1ea082 = className('EditText')['text']('搜索')['findOnce']();
                if (!_0x1ea082)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x4d7d60--;
                else
                    break;
            }
            if (!_0x1ea082)
                return console['log']('[wechat|L2268]', '【标志】无法进入标签组\x22' + _0x2e5ec2 + '\x22选择页面\x20原因:找不到搜索输入框'), _0x379dc1;
            _0x13a56b['superclick'](_0x1ea082), _0x1ea082 = className('TextView')['text'](_0x2e5ec2)['findOne'](0x12c);
            if (!_0x1ea082)
                return console['log']('[wechat|L2275]', '【标志】无法进入' + _0x2e5ec2 + '标签选择页面\x20原因:找不到该标签'), _0x379dc1;
            _0x13a56b['superclick'](_0x1ea082);
            if (_0x113844['waitForActivity']('SelectLabelContactUI', 0x2, !![]) || idContains('text1')['className']('TextView')['text'](_0x2e5ec2)['exists']())
                console['log']('[wechat|L2281]', '【标志】成功进入' + _0x2e5ec2 + '标签选择页面');
            else
                return console['log']('[wechat|L2283]', '【标志】无法进入' + _0x2e5ec2 + '标签选择页面'), _0x379dc1;
            let {
                isFromSelf: _0x5e78eb,
                contactArr: _0x57b9bf,
                contactNum: _0x1bfc82
            } = _0x338d9b;
            _0x5e78eb = _0x5e78eb ? !![] : ![], _0x1bfc82 = _0x1bfc82 ? _0x1bfc82 : 0x0, _0x57b9bf = _0x57b9bf ? _0x57b9bf : [];
            if (!_0x5e78eb) {
                let _0x1a1413, _0x51917b = 0x0;
                do {
                    _0x1a1413 = ![];
                    let _0x4b823a = className('TextView')['depth'](0x4)['find']();
                    if (!_0x4b823a || _0x4b823a['length'] == 0x0) {
                        console['log']('[wechat|L2301]', 'temp_list\x20not\x20found!');
                        break;
                    }
                    for (let _0x28a739 = 0x0; _0x28a739 < _0x4b823a['length']; _0x28a739++) {
                        let _0x447165 = (_0x4b823a[_0x28a739]['text']() || '')['toString']();
                        _0x57b9bf['indexOf'](_0x447165) == -0x1 && (_0x57b9bf['push'](_0x447165), _0x1a1413 = !![]);
                    }
                    this['scroll'](), _0x51917b++;
                } while (_0x1a1413);
                while (_0x51917b) {
                    this['scrollUp'](), _0x51917b--;
                }
                if (_0x57b9bf['length'] == 0x0)
                    return console['log']('[wechat|L2320]', '【标志】无法群发消息,原因:无法找到联系人'), _0x379dc1;
                _0x1bfc82 = _0x57b9bf['length'], console['log']('[wechat|L2324]', '【标志】标签组:' + _0x2e5ec2 + ',共' + _0x1bfc82 + '人~');
            }
            let _0x3b567f = _0x57b9bf['length'] < _0x5866f3 ? _0x57b9bf['length'] : _0x5866f3, _0x53dc7a = [];
            while (_0x3b567f > 0x0) {
                let _0x252c1b = className('TextView')['depth'](0x4)['find']();
                if (!_0x252c1b || _0x252c1b['length'] == 0x0) {
                    console['error']('[wechat|L2335]', '无法群发消息,原因:未找到联系人,请手动进入确认页面是否正常~');
                    break;
                }
                for (let _0x90c172 = 0x0; _0x90c172 < _0x252c1b['length']; _0x90c172++) {
                    let _0x35069e = _0x252c1b[_0x90c172], _0x33087c = (_0x35069e['text']() || '')['toString'](), _0x546f46 = _0x57b9bf['indexOf'](_0x33087c);
                    if (_0x546f46 > -0x1) {
                        _0x57b9bf['splice'](_0x546f46, 0x1), _0x53dc7a['push'](_0x33087c), _0x13a56b['superclick'](_0x35069e), _0x3b567f -= 0x1;
                        if (_0x3b567f <= 0x0) {
                            console['log']('[wechat|L2348]', '【标志】此轮群发对象已选取完毕——' + _0x53dc7a['join']('|'));
                            break;
                        }
                        _0x13a56b['randomWait'](0x12c, 0x1f4);
                    }
                }
                this['scroll']();
            }
            _0x4d7d60 = 0x3, _0x1ea082 = null;
            while (_0x4d7d60 > 0x0) {
                _0x1ea082 = className('Button')['textStartsWith']('确定')['findOnce']();
                if (!_0x1ea082)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x4d7d60--;
                else
                    break;
            }
            if (!_0x1ea082)
                return toastLog('【标志】无法群发消息成功\x20原因:未找到\x22确定\x22'), _0x379dc1;
            _0x13a56b['superclick'](_0x1ea082), _0x13a56b['randomWait'](0x4b0, 0x578);
            if (_0x113844['waitForActivity']('MassSendSelectContactUI', 0x2, !![]) || idContains('text1')['className']('TextView')['text']('选择收信人')['exists']())
                console['log']('[wechat|L2379]', '【标志】成功进入群发页面');
            else
                return console['log']('[wechat|L2381]', '【标志】无法进入群发页面\x20原因:点击未进入页面'), _0x379dc1;
            _0x4d7d60 = 0x3, _0x1ea082 = null;
            while (_0x4d7d60 > 0x0) {
                _0x1ea082 = className('Button')['textStartsWith']('下一步')['findOnce']();
                if (!_0x1ea082)
                    _0x13a56b['randomWait'](0x578, 0x640), _0x4d7d60--;
                else
                    break;
            }
            if (!_0x1ea082)
                return console['log']('[wechat|L2397]', '【标志】无法群发消息成功\x20原因:未找到\x22下一步\x22'), _0x379dc1;
            _0x13a56b['superclick'](_0x1ea082);
            if (_0x113844['waitForActivity']('MassSendMsgUI|SoftInputWindow', 0x2, !![]) || idContains('text1')['className']('TextView')['text']('群发')['exists']())
                console['log']('[wechat|L2403]', '【标志】成功进入消息编辑页面');
            else
                return console['log']('[wechat|L2405]', '【标志】无法进入消息编辑页面\x20原因:点击未进入页面'), _0x379dc1;
            if (!this['sendMsg'](_0xd7ab7d))
                return _0x379dc1;
            if (_0x113844['waitForActivity']('MassSendHistoryUI', 0x2, !![]) || idContains('text1')['className']('TextView')['text']('群发助手')['exists']())
                toastLog('【标志】当前已处于\x20群发助手'), console['log']('[wechat|L2454]', '【标志】成功返回\x22群发助手\x22');
            else
                return toastLog('【标志】未返回\x22群发助手\x22\x20原因:可能是发送失败'), toastLog('【标志】可能群发内容不符合法律法规!'), _0x13a56b['randomWait'](0x2710, 0x2ee0), _0x379dc1;
            return _0x57b9bf['length'] > 0x0 ? (_0x13a56b['randomWait'](_0x886e5b, _0x4281b1), _0x338d9b['isFromSelf'] = !![], _0x338d9b['contactArr'] = _0x57b9bf, _0x338d9b['contactNum'] = _0x1bfc82, _0x113844['群发消息Single'](_0x338d9b)) : (toastLog('【标志】标签组:' + _0x2e5ec2 + ',共' + _0x1bfc82 + '人,已群发完毕'), !![]);
        }, _0x113844['微信运动点赞'] = function (_0x362084, _0x989871, _0x55ebb6) {
            this['启动']();
            if (!this['goWechatStep']()) {
                console['log']('[wechat|L2481]', '【标志】未能成功进入\x20微信运动');
                return;
            }
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x443a56 = this['Grobal']['scrollNum'], _0x3f3a56 = 0x0;
            while (_0x443a56 > 0x0) {
                this['scroll'](), _0x443a56--, _0x3f3a56++, console['log']('[wechat|L2493]', '划动屏幕,第' + _0x3f3a56 + '次');
            }
            _0x13a56b['randomWait'](0x708, 0x898), _0x3f3a56 = 0x0;
            var _0xf8b447, _0x5cc891 = 0xa;
            while (_0x3f3a56 < _0x362084 && _0x5cc891 > 0x0) {
                if (_0x3f3a56 === _0x362084)
                    break;
                var _0xd6d216 = _0x113844['getUiObjByList']([className('ImageView')['idContains']('dj2')], 'find');
                _0x3f3a56 !== 0x0 && _0x13a56b['randomWait'](_0x989871, _0x55ebb6);
                if (_0xd6d216['length'] === 0x0)
                    _0x5cc891--, console['log']('[wechat|L2510]', '[提示]找不到可点赞的按钮');
                else {
                    _0x5cc891++;
                    for (let _0x362527 = 0x0; _0x362527 < _0xd6d216['length']; _0x362527++) {
                        _0xf8b447 = _0xd6d216[_0x362527], _0x13a56b['superclick'](_0xf8b447), _0x3f3a56++, _0x13a56b['randomWait'](0x384, 0x44c), !className('TextView')['text']('排行榜')['exists']() && (back(), _0x13a56b['randomWait'](0x384, 0x44c));
                    }
                    console['log']('[wechat|L2527]', '微信点赞,第:' + _0x3f3a56 + '个');
                }
                this['scroll'](), this['Grobal']['scrollNum']++, console['log']('[wechat|L2531]', 'this.Grobal.scrollNum：' + this['Grobal']['scrollNum']), _0x13a56b['randomWait'](0x578, 0x640);
            }
        }, _0x113844['getUiTarget'] = function () {
            let _0x214925 = className('android.view.View')['visibleToUser'](!![]), _0x53b9fd = function () {
                    let _0x469133 = {
                            'left': 0x14,
                            'top': 0x0,
                            'right': device['width'] - 0x14,
                            'bottom': device['height']
                        }, _0x564a88 = className('androidx.recyclerview.widget.RecyclerView')['scrollable'](!![])['findOne'](0x12c);
                    if (_0x564a88) {
                        let {
                            top: _0x5c8d60,
                            bottom: _0x433d67
                        } = _0x564a88['bounds']();
                        Object['assign'](_0x469133, {
                            'top': _0x5c8d60,
                            'bottom': _0x433d67
                        });
                    }
                    return className('TextView')['boundsInside'](_0x469133['left'], _0x469133['top'], _0x469133['right'], _0x469133['bottom'])['visibleToUser'](!![]);
                }, _0x438a8c = _0x113844['getUiObj'](_0x214925, 'find');
            if (!_0x438a8c || _0x438a8c['length'] < 0x3)
                return _0x53b9fd();
            for (let _0x3632fd = 0x0; _0x3632fd < _0x438a8c['length']; _0x3632fd++) {
                let _0x45bcfc = _0x438a8c[_0x3632fd], _0x12e492 = _0x45bcfc['text']() + '';
                if (_0x12e492)
                    return _0x214925;
            }
            return _0x53b9fd();
        }, _0x113844['findFriend'] = function (_0x36409e) {
            let _0x2739ef = ![];
            const _0x12ade3 = 0x5;
            let _0x2de561 = _0x12ade3, _0x3874d5 = this['getUiTarget']();
            while (_0x2de561 > 0x0 && !_0x2739ef) {
                let _0x31cf9c = this['getUiObj'](_0x3874d5, 'find');
                if (!_0x31cf9c || !_0x31cf9c['length'])
                    _0x2de561 -= 0x1, console['warn']('[wechat|L2577]', '找不到好友' + (_0x12ade3 - _0x2de561) + '次~');
                else {
                    let _0x4fcd7f = _0x31cf9c[0x0]['bounds']()['bottom'];
                    for (let _0x4f7206 = 0x0; _0x4f7206 < _0x31cf9c['length']; _0x4f7206++) {
                        let _0x9a9c5e = _0x31cf9c[_0x4f7206], _0x38986b = _0x9a9c5e['text']() + '', _0x4a1e10 = _0x36409e['indexOf'](_0x38986b);
                        if (_0x4a1e10 > -0x1) {
                            _0x2739ef = !![], _0x13a56b['toastInfo']('找到微信好友:' + _0x36409e['join'](','));
                            let _0x42a12a = _0x9a9c5e['bounds']()['bottom'], _0x1aaec1 = _0x42a12a - _0x4fcd7f;
                            _0x1aaec1 > 0x0 && _0x13a56b['scroll'](_0x1aaec1);
                            break;
                        }
                    }
                    !_0x2739ef && (_0x2de561 -= 0x1);
                }
                if (_0x2de561 <= 0x0) {
                    let _0x22c4e3 = this['getUiObj'](textEndsWith('个朋友')['visibleToUser'](!![]));
                    if (!_0x22c4e3)
                        console['verbose']('继续翻页查找好友列表'), _0x2de561 = _0x12ade3;
                    else {
                        let _0x3acf9f = (_0x22c4e3['text']() + '')['replace']('个朋友', '');
                        console['info']('[wechat|L2611]', '好友数总共为' + _0x3acf9f + '个,\x20未找到指定好友:' + _0x36409e['join'](','));
                        break;
                    }
                }
                !_0x2739ef && this['scroll']();
            }
            return !_0x2739ef && console['error']('[wechat|L2621]', '找不到好友:' + _0x36409e['join'](',')), _0x2739ef;
        }, _0x113844['getFriendList'] = function (_0xdda340, _0x4f0eca) {
            _0xdda340 = _0xdda340 === 'object' ? 'object' : 'string';
            let _0x22222b = [];
            _0x13a56b['randomWait'](0x5dc, 0x640);
            const _0x1fa439 = 0x3;
            let _0x43f4a8 = _0x1fa439;
            _0x4f0eca = isNaN(_0x4f0eca) ? 0x1f4 : parseInt(_0x4f0eca);
            let _0x2cdb95 = '', _0x4b15e1 = '', _0x169f04 = this['getUiTarget']();
            while (_0x43f4a8 > 0x0) {
                _0x4b15e1 = _0x2cdb95, _0x2cdb95 = '';
                let _0x4ae7d3 = this['getUiObj'](_0x169f04, 'find');
                if (!_0x4ae7d3 || !_0x4ae7d3['length'])
                    _0x43f4a8 -= 0x1, console['warn']('[wechat|L2644]', '找不到好友' + (_0x1fa439 - _0x43f4a8) + '次~');
                else {
                    let _0x481408 = [];
                    _0x4ae7d3 = _0x4ae7d3['filter'](function (_0x3fb079) {
                        let _0x5a88e2 = _0x3fb079['text']() + '';
                        return _0x37655b['indexOf'](_0x5a88e2) === -0x1 && isNaN(_0x5a88e2);
                    });
                    for (let _0x5280b1 = 0x0; _0x5280b1 < _0x4ae7d3['length']; _0x5280b1++) {
                        let _0x13eb28 = _0x4ae7d3[_0x5280b1], _0x17692e = _0x13eb28['text']() + '';
                        if (typeof _0x17692e !== 'string') {
                            console['error']('[wechat|L2657]', 'typeof\x20textStr\x20!==\x20\x27string\x27');
                            continue;
                        }
                        !_0x2cdb95 && _0x17692e && (_0x2cdb95 = _0x17692e);
                        _0x481408['push'](_0x17692e);
                        if (_0xdda340 === 'string')
                            _0x22222b['push'](_0x17692e);
                        else {
                            if (_0x13a56b['click'](_0x13eb28)) {
                                _0x13a56b['randomWait'](0x1f4, 0x258);
                                let _0x37a3bc = _0x113844['fillPerson']({
                                    'name': _0x17692e,
                                    'phone': ''
                                });
                                _0x37a3bc && _0x22222b['push'](_0x37a3bc);
                            }
                            let _0x1bcaad = _0x113844['getReturnBtn']();
                            _0x1bcaad && _0x13a56b['superclick'](_0x1bcaad);
                        }
                        _0x4b15e1 === _0x2cdb95 ? _0x43f4a8 > 0x0 && (_0x43f4a8 -= 0x1) : _0x43f4a8 = _0x1fa439;
                    }
                    console['verbose']('当前轮次获取:\x20' + _0x481408['join']('|'));
                }
                let _0xe3b06f = this['getUiObjSingle'](className('TextView')['textEndsWith']('个朋友'))['UiO'];
                if (!_0xe3b06f)
                    console['verbose']('继续获取中~,当前好友：' + _0x2cdb95);
                else {
                    let _0x34ae7f = (_0xe3b06f['text']() + '')['replace']('个朋友', ''), _0x3882dd = _0x22222b['length'] - 0x1, _0x510eb9 = '';
                    _0xdda340 === 'string' ? _0x510eb9 = _0x22222b[_0x3882dd] || '' : _0x510eb9 = _0x22222b[_0x3882dd] && _0x22222b[_0x3882dd]['name'] ? _0x22222b[_0x3882dd]['name'] : '';
                    _0x510eb9 && console['info']('[wechat|L2708]', '好友数总共为' + _0x34ae7f + '个,\x20最后一位好友应为:' + _0x510eb9 + '.\x20如果与实际情况不符,请联系客服~');
                    break;
                }
                !this['scroll']() && console['error']('[wechat|L2713]', '滚动失败~');
                if (_0xdda340 === 'object' && _0x22222b['length'] >= _0x4f0eca)
                    break;
            }
            return _0x22222b;
        }, _0x113844['getFriendListFromFile'] = function (_0x1af21f) {
            let _0x237632 = [];
            if (!files['exists'](_0x1af21f) || !files['isFile'](_0x1af21f))
                return files['create'](_0x1af21f), _0x237632;
            let _0x43eba9 = open(_0x1af21f, 'r', 'gbk'), _0x3481f6;
            do {
                _0x3481f6 = _0x43eba9['readline']();
                if (!_0x3481f6)
                    _0x43eba9['close']();
                else {
                    let _0x2a2569 = _0x3481f6['split'](',');
                    _0x2a2569['length'] > 0x2 ? _0x237632['push'](_0x2a2569[0x1]) : console['warn']('[wechat|L2742]', '该行数据异常:', _0x3481f6);
                }
            } while (_0x3481f6);
            return console['info']('[wechat|L2746]', '已存储好友记录共:' + _0x237632['length'] + '条'), _0x237632;
        }, _0x113844['补充好友列表'] = function (_0x26aeb5) {
            this['启动']();
            let _0x484838 = ![], _0x2a4a0b = this['getWxData'](), _0x2eebee = _0x2a4a0b['wxId'], _0x414f4c = _0x2a4a0b['nickname'], _0x459853 = 'Friend_List_Record_' + _0x2eebee;
            if (!this['进入好友列表'](!![]))
                return console['error']('[wechat|L2761]', '【标志】未能成功进入\x20好友列表'), _0x484838;
            let _0x11c0db = '好友列表', _0x3f1e1c = this['Grobal']['savePath'] + _0x11c0db + '.csv', _0x4c7f0c = [];
            _0x26aeb5 === 0x0 ? (console['info']('[wechat|L2772]', '【】重置列表运行'), _0x15f3a2['put'](_0x459853, [])) : (console['info']('[wechat|L2775]', '【】继续列表运行'), _0x4c7f0c = _0x15f3a2['get'](_0x459853, [])['filter'](function (_0x5b8c52) {
                return _0x37655b['indexOf'](_0x5b8c52) === -0x1 && isNaN(_0x5b8c52);
            }));
            if (_0x4c7f0c['length'] === 0x0) {
                let _0x7af157 = this['getFriendList']('string');
                const _0x5d927b = this['getFriendListFromFile'](_0x3f1e1c);
                _0x4c7f0c = _0x4bc125(_0x7af157, _0x5d927b, !![]);
                let _0x40b93d = _0x4c7f0c['indexOf'](_0x414f4c);
                _0x40b93d > -0x1 && _0x4c7f0c['splice'](_0x40b93d, 0x1), _0x15f3a2['put'](_0x459853, _0x4c7f0c);
            }
            console['log']('[wechat|L2793]', '待获取好友数' + _0x4c7f0c['length']);
            let _0x56b714 = '待获取的好友列表:' + _0x4c7f0c['length'] + '个';
            _0x4c7f0c['length'] < 0x64 && (_0x56b714 += '\x20分别为:' + _0x4c7f0c['join']('|'));
            console['log']('[wechat|L2799]', _0x56b714);
            if (!this['进入好友列表'](!![]))
                return console['error']('[wechat|L2802]', '【标志】未能成功进入\x20好友列表'), _0x484838;
            let _0x245bc3 = _0x4c7f0c[0x0], _0x48d60f = _0x4c7f0c['slice'](0x0, 0x5);
            if (!this['findFriend'](_0x48d60f))
                return _0x484838;
            let _0x4baf09 = [], _0x58e002 = [], _0xc0f1c = [], _0x351f9b = 0x0;
            do {
                _0xc0f1c = _0x4baf09['map'](function (_0x6b69b6) {
                    return _0x6b69b6['wechatName'];
                });
                try {
                    _0x4baf09 = this['getFriendList']('object', 0x5);
                } catch (_0x4a4201) {
                    console['log']('[wechat|L2825]', JSON['stringify'](_0x4a4201)), _0x113844['启动'](!![]), _0x4baf09 = [];
                }
                if (_0x245bc3) {
                    let _0x98c9b6 = -0x1;
                    for (let _0x1528bb = 0x0; _0x1528bb < _0x4baf09['length']; _0x1528bb++) {
                        let _0x43dda4 = _0x4baf09[_0x1528bb], _0x363ad9 = _0x43dda4['name'];
                        _0x245bc3 === _0x363ad9 && (_0x98c9b6 = _0x1528bb);
                    }
                    _0x98c9b6 > 0x0 && _0x4baf09['splice'](0x0, _0x98c9b6), _0x245bc3 = '';
                }
                let _0x879d03 = [];
                _0x58e002 = [];
                for (let _0x1b87f7 = 0x0; _0x1b87f7 < _0x4baf09['length']; _0x1b87f7++) {
                    let _0x3c80bf = _0x4baf09[_0x1b87f7];
                    _0xc0f1c['indexOf'](_0x3c80bf['wechatName']) === -0x1 && (_0x879d03['push']([
                        _0x3c80bf['phone'],
                        _0x3c80bf['name'],
                        _0x3c80bf['wechatName'],
                        _0x3c80bf['nickname'],
                        _0x3c80bf['area'],
                        _0x3c80bf['label'],
                        _0x3c80bf['note']
                    ]['join'](',')), _0x58e002['push'](_0x3c80bf['name']));
                }
                console['log']('[wechat|L2852]', '写入数据中:', _0x58e002['join']('|')), this['addRecord'](_0x3f1e1c, _0x879d03), _0x351f9b = _0x58e002['length'], _0x4c7f0c = _0x4bc125(_0x4c7f0c, _0x58e002);
                let _0x2b2dad = _0x4c7f0c['indexOf'](_0x414f4c);
                _0x2b2dad > -0x1 && _0x4c7f0c['splice'](_0x2b2dad, 0x1);
                _0x15f3a2['put'](_0x459853, _0x4c7f0c), console['info']('[wechat|L2866]', '待获取好友数' + _0x4c7f0c['length']);
                if (this['getPageName']() !== '通讯录') {
                    console['error']('[wechat|L2868]', '不处于\x20通讯录\x20页面');
                    if (!this['进入好友列表'](!![])) {
                        _0x13a56b['toastError']('未能成功进入\x20好友列表');
                        break;
                    }
                    if (_0x58e002['length'] && !this['findFriend'](_0x58e002))
                        break;
                } else
                    console['info']('[wechat|L2878]', '仍处于\x20通讯录\x20页面');
            } while (_0x351f9b);
            _0x484838 = !![];
            var _0x3f7807 = [
                '保存位置:' + _0x3f1e1c,
                _0x484838 ? '获取成功' : '获取失败'
            ];
            return _0x13a56b['toastInfo'](_0x3f7807['join']('\x0a')), _0x484838;
        }, _0x113844['获取好友列表'] = function (_0x4819fe) {
            _0x4819fe = _0x4819fe === 'normal' ? 'normal' : 'fast';
            var _0x2fca4d = '', _0x93dfb5 = '', _0xf82e88 = [];
            if (!_0x113844['进入好友列表'](!![])) {
                console['error']('[wechat|L2894]', '【标志】未能成功进入\x20好友列表');
                return;
            }
            if (_0x4819fe === 'fast') {
                _0x2fca4d = '好友列表-快速', _0x93dfb5 = _0x113844['Grobal']['savePath'] + _0x2fca4d + '.csv', _0xf82e88 = _0x113844['getFriendList']('string'), _0x113844['addRecord'](_0x93dfb5, _0xf82e88, 'w'), console['info']('[wechat|L2909]', '好友列表获取完毕~');
                return;
            }
            let _0x5c9252 = ![];
            _0x2fca4d = '好友列表', _0x93dfb5 = _0x113844['Grobal']['savePath'] + _0x2fca4d + '.csv';
            const _0x11b522 = 'Friend_List_Record_' + this['Grobal']['wxIdx'];
            _0xf82e88 = _0x15f3a2['get'](_0x11b522, []);
            if (_0xf82e88['length'] === 0x0) {
                _0x13a56b['toastInfo']('正在重新获取好友列表~');
                try {
                    files['exists'](_0x93dfb5) && files['isFile'](_0x93dfb5) && files['remove'](_0x93dfb5);
                } catch (_0x106a79) {
                    console['log']('[wechat|L2925]', JSON['stringify'](_0x106a79));
                }
                _0xf82e88 = _0x113844['getFriendList']('string'), _0x15f3a2['put'](_0x11b522, _0xf82e88);
            }
            const _0x4179e8 = function (_0x2aca44) {
                var _0x2f41ed = ![], _0xbc5be9 = _0x113844['getUiObjSingle'](desc(_0x2aca44 + '头像'))['UiO'];
                return _0xbc5be9 && _0x13a56b['superclick'](_0xbc5be9) ? (_0x13a56b['randomWait'](0x384, 0x44c), _0x2f41ed = !![]) : (_0xbc5be9 = _0x113844['getUiObjSingle'](desc('聊天信息'))['UiO'], _0xbc5be9 && _0x13a56b['superclick'](_0xbc5be9) && (_0x13a56b['randomWait'](0x384, 0x44c), _0xbc5be9 = _0x113844['getUiObjSingle'](className('TextView')['textContains'](_0x2aca44))['UiO'], _0xbc5be9 && _0x13a56b['superclick'](_0xbc5be9) && (_0x13a56b['randomWait'](0x384, 0x44c), _0x2f41ed = !![]))), _0x2f41ed;
            };
            while (_0xf82e88['length'] > 0x0) {
                let _0x53f58a = [];
                _0x113844['启动']();
                for (let _0x1d1540 = 0x0; _0x1d1540 < 0x5; _0x1d1540++) {
                    let _0x2a3817 = _0xf82e88['pop']();
                    if (!_0x2a3817)
                        break;
                    if (_0x113844['intoPageBySearch'](_0x2a3817)) {
                        console['log']('[wechat|L2964]', '好友名:', _0x2a3817);
                        if (_0x4179e8(_0x2a3817)) {
                            let _0x51be05 = _0x113844['fillPerson']({
                                'name': _0x2a3817,
                                'phone': ''
                            });
                            _0x51be05 && _0x53f58a['push'](_0x51be05);
                        }
                    } else
                        console['warn']('[wechat|L2970]', '未找到该好友:', _0x2a3817);
                }
                _0x53f58a = _0x53f58a['map'](function (_0x10d1c0) {
                    return [
                        _0x10d1c0['phone'],
                        _0x10d1c0['name'],
                        _0x10d1c0['wechatName'],
                        _0x10d1c0['nickname'],
                        _0x10d1c0['area'],
                        _0x10d1c0['label'],
                        _0x10d1c0['note']
                    ]['join'](',');
                }), _0x113844['addRecord'](_0x93dfb5, _0x53f58a, 'a'), _0x15f3a2['put'](_0x11b522, _0xf82e88), _0x13a56b['toastInfo']('待获取好友数:' + _0xf82e88['length']);
            }
            _0x5c9252 = !![];
            var _0xf8ec76 = [
                '保存位置:' + _0x93dfb5,
                _0x5c9252 ? '获取成功' : '获取失败'
            ];
            return _0x13a56b['toastInfo'](_0xf8ec76['join']('\x0a')), _0x5c9252;
        }, _0x113844['检测微信好友'] = function (_0x267a98, _0x10de74, _0x3997d5) {
            _0x3997d5 = !isNaN(_0x3997d5) ? parseInt(_0x3997d5) : 0x5;
            let _0x5bea44 = ![];
            var _0x4b08d1 = function () {
                let _0x38c18f = [];
                if (!_0x113844['goWechatStep']())
                    return console['log']('[wechat|L3003|C\x20->\x20获取运动列表]', '【标志】未能成功进入\x20微信运动'), _0x38c18f;
                _0x13a56b['randomWait'](0x5dc, 0x640);
                let _0x17b84d = 0x3, _0x23f158 = 0x0;
                while (_0x17b84d > 0x0) {
                    _0x23f158 += 0x1;
                    let _0x2c1234 = className('TextView')['text'](_0x23f158 + '')['boundsInside'](0x0, 0x0, device['width'] / 0x3, device['height'])['findOne'](0x12c);
                    if (_0x2c1234) {
                        _0x17b84d = 0x3, _0x13a56b['superclick'](_0x2c1234);
                        let _0x1560b5 = _0x113844['getPageName']()['replace']('的主页', '');
                        _0x1560b5 && _0x38c18f['push'](_0x1560b5), _0x113844['返回'](0x1);
                    } else
                        _0x17b84d -= 0x1, this['scroll']();
                }
                return _0x38c18f;
            };
            if (!_0x113844['进入好友列表'](!![]))
                return console['error']('[wechat|L3032]', '【标志】未能成功进入\x20好友列表'), _0x5bea44;
            var _0x28ef08 = _0x113844['getFriendList']('string'), _0x587cac = function (_0x488022) {
                    let _0x33c151 = ![], _0x502167 = desc('聊天信息')['findOne'](0x12c);
                    if (!_0x502167)
                        return _0x33c151;
                    _0x13a56b['superclick'](_0x502167), _0x13a56b['randomWait'](0x76c, 0x834), _0x502167 = className('TextView')['textContains'](_0x488022)['findOne'](0x12c);
                    if (!_0x502167)
                        return _0x33c151;
                    _0x13a56b['superclick'](_0x502167), _0x13a56b['randomWait'](0x76c, 0x834);
                    if (!_0x113844['findOneAndHandle'](className('ImageButton')['desc']('更多'), 'click')) {
                        _0x502167 = _0x113844['findOne'](className('ImageView')['desc']('返回'));
                        if (!_0x502167)
                            return _0x33c151;
                        let _0x2995b7 = _0x502167['bounds']();
                        if (!_0x113844['findOneAndHandle'](className('ImageView')['boundsInside'](device['width'] / 0x5 * 0x4, _0x2995b7['top'], device['width'], _0x2995b7['bottom']), 'click'))
                            return console['log']('[wechat|L3062|C\x20->\x20delWxFriends]', '找不到更多~'), _0x33c151;
                    }
                    let _0x3e4cfc = 0x2, _0x40e20c = 0x3;
                    while (_0x3e4cfc > 0x0 && _0x40e20c > 0x0) {
                        _0x502167 = _0x113844['findOneAndHandle'](text('删除'), 'click'), _0x502167 ? (_0x3e4cfc -= 0x1, _0x40e20c = 0x3) : (_0x40e20c -= 0x1, console['log']('[wechat|L3103|C\x20->\x20delWxFriends]', '找不到删除~')), _0x113844['处理弹窗']('确定') && _0x113844['返回'](0x1);
                    }
                    return _0x33c151 = _0x3e4cfc === 0x0, _0x33c151;
                }, _0x4b078e = function () {
                    let _0x1d8cbf = ![];
                    if (!_0x113844['findOneAndHandle'](className('ImageButton')['desc']('更多功能按钮，已折叠'), 'click'))
                        return _0x1d8cbf;
                    if (!_0x113844['findOneAndHandle'](className('TextView')['text']('视频通话'), 'click'))
                        return _0x1d8cbf;
                    return _0x113844['findOneAndHandle'](className('TextView')['textContains']('语音通话'), 'click'), _0x113844['findOne'](className('TextView')['text']('正在等待对方接受邀请'), 0x4b0) && _0x113844['findOneAndHandle'](className('ImageView')['desc']('取消'), 'click'), _0x1d8cbf = _0x113844['findOne'](className('TextView')['text']('连接失败'), 0x4b0) ? !![] : ![], _0x1d8cbf ? console['info']('[wechat|L3134|C\x20->\x20isOnewayFriend]', '当前好友“' + arguments[0x0] + '”单向好友,予以删除~') : console['info']('[wechat|L3136|C\x20->\x20isOnewayFriend]', '当前好友“' + arguments[0x0] + '”双向好友,不予删除~'), _0x1d8cbf;
                };
            _0x587cac = _0x587cac['before'](_0x4b078e);
            let _0x2ce2dc = _0x4b08d1(), _0x38c6f2 = _0x28ef08(), _0x22e154 = _0x15f3a2['get']('Friend_List', {});
            console['log']('[wechat|L3147]', 'friend_list:', _0x22e154);
            let _0x3b1c37 = _0x38c6f2['filter'](function (_0x16d510) {
                if (_0x2ce2dc['indexOf'](_0x16d510) == -0x1) {
                    if (_0x22e154[_0x16d510] == null || _0x22e154[_0x16d510] == 0x2)
                        return _0x22e154[_0x16d510] = 0x2, !![];
                }
                return _0x22e154[_0x16d510] = 0x1, ![];
            });
            _0x3b1c37 = _0x3b1c37['slice'](0x0, _0x3997d5), console['log']('[wechat|L3161]', 'friend_list:', _0x22e154), _0x15f3a2['put']('Friend_List', _0x22e154), console['info']('[wechat|L3164]', '微信运动:' + _0x2ce2dc['join']('|')), console['info']('[wechat|L3165]', '好友列表:' + _0x38c6f2['join']('|')), console['info']('[wechat|L3166]', '准备删除列表:' + _0x3b1c37['join']('|'));
            let _0x45e154 = [];
            _0x3b1c37['map'](function (_0x3ac3c2) {
                _0x113844['intoPageBySearch'](_0x3ac3c2) && (_0x587cac(_0x3ac3c2) ? (_0x45e154['push'](_0x3ac3c2), _0x22e154[_0x3ac3c2] = 0x0) : _0x22e154[_0x3ac3c2] = 0x1), _0x13a56b['randomWait'](_0x267a98, _0x10de74);
            }), console['log']('[wechat|L3182]', 'friend_list:', _0x22e154), _0x15f3a2['put']('Friend_List', _0x22e154);
            let _0x3c33ce = [
                '微信运动列表数:' + _0x2ce2dc['length'],
                '微信好友列表数:' + _0x38c6f2['length'],
                '计划删除:' + _0x3b1c37['length'] + '实际删除:' + _0x45e154['length'],
                '分别为:' + _0x45e154['join'](',')
            ];
            console['info']('[wechat|L3191]', _0x3c33ce['join']('|'));
            return;
        }, _0x113844['getFriendsByLabel'] = function (_0xdb754c) {
            let _0xe2359b = [];
            if (!_0xdb754c)
                return _0xe2359b;
            if (!this['进入标签列表']())
                return toastLog('未能进入标签列表'), _0xe2359b;
            var _0x1d79d6 = 0x14, _0x468840 = ![];
            do {
                let _0x3df15e = _0x113844['getUiObjSingle'](className('TextView')['textContains'](_0xdb754c))['UiO'];
                if (_0x3df15e) {
                    _0x13a56b['superclick'](_0x3df15e), _0x468840 = !![], _0x13a56b['randomWait'](0x44c, 0x578);
                    break;
                }
                _0x1d79d6--, this['scroll']();
            } while (_0x1d79d6);
            if (!_0x468840)
                return toastLog('未能进入标签列表'), _0xe2359b;
            var _0x482e75;
            do {
                _0x482e75 = ![];
                let _0x16f61a = className('RelativeLayout')['clickable']()['find']();
                if (!_0x16f61a) {
                    console['log']('[wechat|L3231]', 'temp_list\x20not\x20found!');
                    break;
                }
                console['log']('[wechat|L3234]', 'temp_list.length:', _0x16f61a['length']);
                for (let _0x5a2449 = 0x0; _0x5a2449 < _0x16f61a['length']; _0x5a2449++) {
                    let _0x4a0158 = _0x16f61a[_0x5a2449];
                    if (_0x4a0158['children']()['length'] == 0x1) {
                        let _0x2adaa1 = (_0x4a0158['child'](0x0)['text']() || '')['toString']();
                        _0x2adaa1['length'] > 0x0 && _0xe2359b['indexOf'](_0x2adaa1) == -0x1 && (_0xe2359b['push'](_0x2adaa1), _0x482e75 = !![]);
                    }
                }
                this['scroll'](), _0x13a56b['randomWait'](0x384, 0x44c);
            } while (_0x482e75);
            return console['log']('[wechat|L3250]', 'friend_list:', _0xe2359b), _0xe2359b;
        }, _0x113844['获取标签列表'] = function () {
            let _0x3a9f27 = ![];
            this['启动']();
            if (!this['进入标签列表']())
                return toastLog('未能进入标签列表'), _0x3a9f27;
            var _0x3fe809 = [], _0x11185b, _0x2f93c4 = 0x0;
            do {
                _0x11185b = ![];
                let _0x4b5b93 = this['getUiObjByList']([
                    idContains('fh4')['className']('TextView'),
                    className('TextView')['depth'](0x4)
                ], 'find');
                if (!_0x4b5b93) {
                    console['log']('[wechat|L3268]', 'temp_list\x20not\x20found!');
                    break;
                }
                for (let _0x13fc1d = 0x0; _0x13fc1d < _0x4b5b93['length']; _0x13fc1d++) {
                    let _0x14ed40 = (_0x4b5b93[_0x13fc1d]['text']() || '')['toString']();
                    if (_0x14ed40['indexOf']('(') == 0x0 && _0x14ed40['indexOf'](')') == _0x14ed40['length'] - 0x1)
                        continue;
                    _0x3fe809['indexOf'](_0x14ed40) == -0x1 && (_0x3fe809['push'](_0x14ed40), _0x11185b = !![]);
                }
                this['scroll'](), _0x2f93c4++, _0x13a56b['randomWait'](0x384, 0x44c);
            } while (_0x11185b);
            while (_0x2f93c4) {
                this['scrollUp'](), _0x2f93c4--;
            }
            return this['返回主界面'](), _0x3fe809['length'] && (this['Grobal']['label0'] = _0x3fe809[0x0]), _0x3fe809;
        }, _0x113844['获取群聊列表'] = function () {
            var _0x344a51 = [], _0x50f522, _0x5319d2 = 0x0;
            this['启动']();
            if (!this['进入群聊列表']())
                return toastLog('未能进入群聊列表'), _0x344a51;
            do {
                _0x50f522 = ![];
                let _0x2a0290 = this['getUiObjByList']([
                    className('TextView')['idContains']('cg1'),
                    className('TextView')['depth'](0x4)
                ], 'find');
                if (!_0x2a0290) {
                    console['log']('[wechat|L3313]', 'temp_list\x20not\x20found!');
                    break;
                }
                for (let _0x38e2fc = 0x0; _0x38e2fc < _0x2a0290['length']; _0x38e2fc++) {
                    let _0x5c3e07 = (_0x2a0290[_0x38e2fc]['text']() || '')['toString']();
                    if (_0x5c3e07['trim']() == '群聊')
                        continue;
                    if (_0x5c3e07['indexOf']('个群聊') > -0x1) {
                        _0x50f522 = ![];
                        break;
                    }
                    _0x344a51['indexOf'](_0x5c3e07) == -0x1 && (_0x344a51['push'](_0x5c3e07), _0x50f522 = !![]);
                }
                this['scroll'](), _0x5319d2++, _0x13a56b['randomWait'](0x384, 0x44c);
            } while (_0x50f522);
            while (_0x5319d2) {
                this['scrollUp'](), _0x5319d2--;
            }
            return _0x344a51;
        }, _0x113844['群聊获取人数'] = function (_0x432c52) {
            let _0x5cd521 = null;
            if (!_0x432c52) {
                let _0x2cf584 = 0x4, _0x2babde = null;
                while (_0x2cf584 > 0x0 && !_0x2babde) {
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x2cf584 -= 0x1, _0x2babde = className('ImageView')['desc']('返回')['findOnce']();
                }
                if (_0x2babde) {
                    let _0x48cebc = _0x2babde['parent']()['parent']()['children']()['filter'](function (_0x1a285a) {
                        if (!_0x1a285a || !_0x1a285a['className'])
                            return ![];
                        if (_0x1a285a['className']()['indexOf']('TextView') > -0x1 && _0x1a285a['text']()['length'] > 0x0)
                            return !![];
                        return ![];
                    });
                    _0x48cebc && _0x48cebc['length'] > 0x0 && (_0x5cd521 = _0x48cebc[0x0]);
                }
            } else {
                let _0x448f57 = 0x3;
                while (_0x448f57 > 0x0 && !_0x5cd521) {
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x448f57 -= 0x1, _0x5cd521 = className('TextView')['textStartsWith'](_0x432c52)['findOnce']();
                }
            }
            if (!_0x5cd521)
                return console['error']('[wechat|L3385]', '未能成功获取' + _0x432c52 + '群聊人数'), 0x0;
            let _0x116c21 = String(_0x5cd521['text']())['trim'](), _0xa6fc90 = new RegExp('[0-9]+', 'g'), _0x48a217 = _0x116c21['match'](_0xa6fc90);
            if (!_0x48a217 || _0x48a217['length'] == 0x0)
                return 0x0;
            return parseInt(_0x48a217['pop']());
        }, _0x113844['群聊设置参数'] = function (_0x34ba76, _0x46b170) {
            let _0x486c2d = ![];
            if (!this['进入群聊天信息']())
                return console['log']('[wechat|L3405]', '【标志】未能成功进入群聊天信息'), _0x486c2d;
            let _0x38ea7f, _0x18b0cf, _0x285c2b, _0x2eeed5 = [
                    '已开启',
                    '已关闭'
                ], _0x395c80 = [
                    '消息免打扰',
                    '置顶聊天',
                    '保存到通讯录',
                    '显示群成员昵称'
                ], _0x3d8dcf = _0x46b170 ? []['concat'](_0x46b170) : [
                    0x1,
                    0x0,
                    0x1,
                    -0x1
                ];
            _0x395c80 = _0x395c80['filter'](function (_0x365e4d, _0xd7fbfb) {
                return _0x3d8dcf[_0xd7fbfb] != -0x1;
            }), _0x3d8dcf = _0x3d8dcf['filter'](function (_0x1a228e) {
                return _0x1a228e != -0x1;
            }), console['verbose']('contentArr:' + _0x395c80['join']('|')), console['verbose']('ctrlArr:' + _0x3d8dcf['join']('|'));
            let _0x301ba8 = 0x0, _0x21e71a = function (_0xb006b4) {
                    return String(_0xb006b4['desc']()) == desc;
                };
            while (_0x301ba8 < 0x6 && _0x395c80['length'] > 0x0) {
                _0x301ba8++, _0x18b0cf = _0x395c80[0x0], _0x285c2b = _0x3d8dcf[0x0], _0x38ea7f = className('TextView')['text'](_0x18b0cf)['findOne'](0x12c);
                if (!_0x38ea7f) {
                    console['verbose']('找不到\x20' + _0x18b0cf + '向下划动~'), this['scroll']();
                    continue;
                }
                _0x301ba8--, _0x395c80['shift'](), _0x3d8dcf['shift']();
                if (_0x285c2b == -0x1)
                    continue;
                let _0x533f4e = _0x2eeed5[_0x285c2b], _0x430017 = _0x38ea7f['parent']()['children']()['filter'](_0x21e71a);
                _0x430017['length'] > 0x0 && (console['info']('[wechat|L3452]', '找到:' + _0x18b0cf + ',状态:' + _0x533f4e + ',正在更改.'), _0x13a56b['superclick'](_0x430017[0x0])), _0x13a56b['randomWait'](0x76c, 0x834);
            }
            if (_0x34ba76) {
                let _0xb4da74 = 0x3, _0x1e0a62;
                while (_0xb4da74 > 0x0) {
                    _0x1e0a62 = className('TextView')['text']('我在本群的昵称')['findOne'](0x12c);
                    if (_0x1e0a62) {
                        _0x13a56b['superclick'](_0x1e0a62), _0x13a56b['randomWait'](0x76c, 0x834);
                        break;
                    }
                    _0x13a56b['randomWait'](0x384, 0x44c), _0xb4da74--;
                }
                if (_0x1e0a62) {
                    _0xb4da74 = 0x3;
                    while (_0xb4da74 > 0x0) {
                        _0x1e0a62 = className('EditText')['findOne'](0x12c);
                        if (_0x1e0a62 && _0x13a56b['input'](_0x1e0a62, _0x34ba76))
                            break;
                        _0x13a56b['randomWait'](0x384, 0x44c), _0xb4da74--;
                    }
                }
                if (_0x1e0a62) {
                    _0xb4da74 = 0x3;
                    while (_0xb4da74 > 0x0) {
                        _0x1e0a62 = className('Button')['text']('确定')['findOne'](0x12c);
                        if (_0x1e0a62) {
                            _0x13a56b['superclick'](_0x1e0a62), _0x13a56b['randomWait'](0x76c, 0x834);
                            break;
                        }
                        _0x13a56b['randomWait'](0x384, 0x44c), _0xb4da74--;
                    }
                }
            }
            return this['返回'](0x1), _0x486c2d = !![], _0x486c2d;
        }, _0x113844['清空群聊消息'] = function () {
            let _0x3079aa = ![];
            if (!this['进入群聊天信息']())
                return console['log']('[wechat|L3507]', '【标志】未能成功进入群聊天信息'), _0x3079aa;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x19b630 = 0x0;
            while (_0x19b630 < 0x5) {
                this['scroll'](), _0x19b630++;
            }
            _0x13a56b['randomWait'](0x708, 0x898);
            var _0x359348 = className('TextView')['text']('清空聊天记录')['findOne'](0x12c);
            if (!_0x359348)
                return console['log']('[wechat|L3522]', '找不到\x20清空聊天记录'), _0x3079aa;
            if (!_0x13a56b['superclick'](_0x359348))
                return _0x3079aa;
            _0x13a56b['randomWait'](0x708, 0x898), _0x359348 = className('Button')['text']('清空')['findOne'](0x12c);
            if (!_0x359348)
                return console['log']('[wechat|L3536]', '找不到\x20清空'), _0x3079aa;
            if (!_0x13a56b['superclick'](_0x359348))
                return _0x3079aa;
            return _0x13a56b['randomWait'](0x708, 0x898), _0x3079aa = !![], _0x3079aa;
        }, _0x113844['附近的人打招呼'] = function (_0x493b5e, _0xe76fd3, _0x45cd97, _0x1740ce, _0xa00c78) {
            this['启动']();
            if (!this['进入附近的人']()) {
                console['log']('[wechat|L3555]', '【标志】未能成功进入\x20附近的人');
                return;
            }
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            let _0x394e41 = ![];
            do {
                _0x394e41 = className('TextView')['text']('正在查找附近的人')['exists'](), _0x394e41 ? (console['log']('[wechat|L3565]', '正在查找附近的人'), _0x13a56b['randomWait'](0x384, 0x44c)) : _0x13a56b['randomWait'](0x708, 0x898);
            } while (_0x394e41);
            var _0x1bed2 = this['getUiObj']([className('ImageButton')['desc']('更多')]);
            if (!_0x1bed2)
                console['log']('[wechat|L3575]', '找不到\x20更多');
            else {
                _0x13a56b['superclick'](_0x1bed2), _0x13a56b['randomWait'](0x514, 0x6a4), _0x1740ce = _0x1740ce ? _0x1740ce : '查看全部';
                var _0x54b209 = className('TextView')['text'](_0x1740ce)['findOne'](0x12c);
                !_0x54b209 ? console['log']('[wechat|L3587]', '找不到' + _0x1740ce) : _0x13a56b['superclick'](_0x54b209);
            }
            _0x13a56b['randomWait'](0x514, 0x6a4);
            do {
                _0x394e41 = className('TextView')['text']('正在查找附近的人')['exists'](), _0x394e41 ? (console['log']('[wechat|L3600]', '正在查找附近的人'), _0x13a56b['randomWait'](0x384, 0x44c)) : _0x13a56b['randomWait'](0x708, 0x898);
            } while (_0x394e41);
            var _0x1d4fa4 = 0x0, _0x217cbb = '', _0x35401e = 0x4, _0x843cce = [], _0x5eecbb = className('TextView')['idContains']('k5r');
            _0x13a56b['randomWait'](0x708, 0x898);
            while (_0x1d4fa4 < _0x493b5e && _0x35401e > 0x0) {
                var _0x4b02c6 = _0x113844['getUiObj'](_0x5eecbb, 'find') || [];
                if (!_0x4b02c6['length']) {
                    console['log']('[wechat|L3628]', '找到“附近的人”个数为0'), this['scroll'](), _0x35401e--;
                    continue;
                }
                _0x35401e = 0x4, console['log']('[wechat|L3636]', '找到“附近的人”个数：' + _0x4b02c6['length']), _0x13a56b['randomWait'](0x708, 0x898);
                var _0xe35a6d = _0x4b02c6['map']((_0x3fbf97, _0x42da1a) => {
                    return {
                        'name': _0x3fbf97['text'](),
                        'idx': _0x42da1a
                    };
                });
                _0xe35a6d = this['用户数组过滤'](_0xe35a6d, _0x843cce);
                let _0x22a392 = _0xe35a6d['map'](function (_0x54f195) {
                    return _0x54f195['name'];
                });
                console['log']('[wechat|L3649]', '可用“添加”个数：' + _0xe35a6d['length'] + '分别为:' + _0x22a392['join']('|'));
                if (_0xe35a6d['length'] > 0x0)
                    for (let _0x162182 = 0x0; _0x162182 < _0xe35a6d['length']; _0x162182++) {
                        if (_0x1d4fa4 >= _0x493b5e)
                            break;
                        _0x1d4fa4++;
                        var _0x36b89a = _0xe35a6d[_0x162182]['idx'], _0x52481 = _0xe35a6d[_0x162182]['name'];
                        if (!_0x52481) {
                            console['log']('[wechat|L3659]', '人名为空,略过!');
                            continue;
                        }
                        console['log']('[wechat|L3662]', 'idx：' + _0x36b89a + '\x20name:' + _0x52481);
                        var _0x7bdbba = this['打招呼'](_0x4b02c6[_0x36b89a], _0xa00c78);
                        _0x7bdbba && (_0x843cce['push'](_0x52481), this['addRecords']([_0x52481], '附近的人'));
                        var _0x572859 = _0x7bdbba ? '成功发送~' : '发送失败~';
                        _0x217cbb = '第' + _0x1d4fa4 + '个请求,' + _0x572859, console['log']('[wechat|L3672]', _0x217cbb), _0x13a56b['randomWait'](_0xe76fd3, _0x45cd97);
                    }
                else {
                    console['log']('[wechat|L3676]', '无可用“添加”个数');
                    break;
                }
                this['scroll']();
            }
            let _0x2314d3 = _0x113844['getUiObj'](idEndsWith('xy'));
            _0x2314d3 && _0x13a56b['superclick'](_0x2314d3);
        }, _0x113844['打招呼'] = function (_0x1cfb0d, _0x47e75e) {
            let _0x3533b4 = ![];
            if (_0x1cfb0d) {
                if (!_0x13a56b['superclick'](_0x1cfb0d))
                    return _0x3533b4;
                _0x13a56b['randomWait'](0x578, 0x640);
            }
            _0x47e75e = _0x47e75e === '客户' ? '附近的人' : _0x47e75e;
            var _0x41f00c = _0x113844['waitForActivity']('ContactInfoUI', 0x3);
            if (!_0x41f00c)
                return toastLog('未进入详细资料'), _0x3533b4;
            const _0x1fd470 = this['isAddable']('', _0x47e75e);
            if (!_0x1fd470)
                return !this['返回'](0x1) && back(), _0x13a56b['randomWait'](0x384, 0x44c), _0x3533b4;
            this['scroll']();
            var _0x7c16c3 = this['getBtnOrTxt']('打招呼');
            if (_0x7c16c3) {
                if (!_0x13a56b['superclick'](_0x7c16c3))
                    return _0x3533b4;
                _0x13a56b['randomWait'](0xaf0, 0xc80);
                var _0x4709c9 = this['createRandomContent'](''), _0x51e085 = className('EditText')['findOne'](0x12c);
                !_0x51e085 && !_0x13a56b['inputSimple'](_0x4709c9) ? toastLog('找不到\x20输入框') : !_0x13a56b['input'](_0x51e085, _0x4709c9) ? toastLog('输入失败') : (_0x13a56b['randomWait'](0x384, 0x44c), _0x7c16c3 = this['getBtnOrTxt']('发送'), _0x7c16c3 ? (_0x13a56b['superclick'](_0x7c16c3), _0x13a56b['randomWait'](0x708, 0x898)) : toastLog('找不到\x20发送'));
            } else
                toastLog('找不到\x20打招呼');
            return _0x13a56b['randomWait'](0x384, 0x44c), !this['返回'](0x1) && back(), _0x13a56b['randomWait'](0x708, 0x898), _0x3533b4 = !![], _0x3533b4;
        }, _0x113844['批量扫码进群'] = function (_0x48aeae, _0x5735a2, _0x470a98, _0x568b1f) {
            const _0xcdf400 = _0x568b1f['chatroomIdx'], _0x3ad899 = _0x568b1f['chatroomNickname'];
            this['启动']();
            if (!this['进入指定群聊'](_0xcdf400)) {
                console['error']('[wechat|L3794]', '【标志】未能成功进入群聊\x20' + _0xcdf400);
                return;
            }
            _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x1f633d = this['获取群主信息']();
            if (_0x1f633d) {
                let _0x10a322 = depth(0x5)['className']('TextView')['text'](_0x1f633d)['findOne'](0x12c);
                if (!_0x10a322)
                    console['warn']('[wechat|L3813]', '无法找到群主,无法添加!');
                else {
                    _0x13a56b['superclick'](_0x10a322);
                    let _0x4456d3 = _0x113844['waitForActivity']('ContactInfoUI', 0x3, ![]);
                    if (!_0x4456d3)
                        console['warn']('[wechat|L3820]', '未能正常进入详细资料');
                    else {
                        this['scroll']();
                        let _0xb21d2 = '';
                        if (text('添加到通讯录')['exists']()) {
                            let _0x444ade = text('添加到通讯录')['findOne'](0x1f4), _0x32cc2f = this['getPerson']('', _0x1f633d), _0x503b68 = this['verifyApply710'](_0x444ade, _0x32cc2f);
                            _0xb21d2 = '添加到通讯录' + (_0x503b68 === 0x1 ? '发送成功~' : '发送失败~');
                        } else
                            text('发消息')['exists']() && (_0xb21d2 = '已经是好友不必添加');
                        console['info']('[wechat|L3837]', _0xb21d2), _0x13a56b['randomWait'](0x320, 0x4b0);
                    }
                    this['返回'](0x2);
                }
            }
            if (!this['进入指定群聊'](_0xcdf400)) {
                console['error']('[wechat|L3846]', '【标志】未能成功进入群聊\x20' + _0xcdf400);
                return;
            }
            _0x13a56b['randomWait'](0x384, 0x44c);
            var _0x44f405, _0x20cc6c, _0x588c61, _0x3bfc75;
            let _0x4515c2 = !![];
            _0x44f405 = 0x0, _0x3bfc75 = 0x4;
            while (_0x44f405 < _0x48aeae && _0x3bfc75 > 0x0) {
                if (_0x44f405 === _0x48aeae)
                    break;
                _0x44f405 > 0x0 && _0x13a56b['randomWait'](_0x5735a2, _0x470a98);
                _0x588c61 = className('FrameLayout')['clickable']()['depth'](0x5)['find']();
                if (!_0x588c61 || _0x588c61['length'] == 0x0) {
                    this['scrollUp'](), _0x13a56b['randomWait'](0x514, 0x6a4), _0x3bfc75--;
                    continue;
                }
                _0x20cc6c = _0x588c61['pop']();
                if (!_0x4515c2) {
                    console['log']('[wechat|L3875]', 'isFirstTime:' + _0x4515c2), _0x13a56b['clickByPos'](_0x20cc6c, 0xdac), _0x13a56b['randomWait'](0x708, 0x898);
                    var _0x27d977 = className('TextView')['text']('删除')['findOne'](0x12c);
                    _0x27d977 ? (_0x13a56b['superclick'](_0x27d977), _0x13a56b['randomWait'](0x384, 0x44c), _0x27d977 = className('Button')['text']('删除')['findOne'](0x12c), _0x27d977 && _0x13a56b['superclick'](_0x27d977)) : (_0x20cc6c = className('TextView')['text']('撤回')['findOne'](0x12c), _0x20cc6c && _0x13a56b['superclick'](_0x20cc6c));
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x4515c2 = !![];
                    continue;
                }
                _0x4515c2 = ![], _0x3bfc75 = 0x4, _0x13a56b['superclick'](_0x20cc6c), _0x13a56b['randomWait'](0x708, 0x898), _0x13a56b['clickByXY'](device['width'] / 0x2, device['height'] / 0x2, random(0x8fc, 0x9c4)), _0x13a56b['randomWait'](0xaf0, 0xc80), _0x20cc6c = className('TextView')['text']('前往图中包含的群聊')['findOne'](0x12c);
                if (!_0x20cc6c) {
                    console['info']('[wechat|L3909]', '当前图片不是群聊二维码~'), _0x20cc6c = className('TextView')['text']('取消')['findOne'](0x12c);
                    _0x20cc6c && (_0x13a56b['superclick'](_0x20cc6c), _0x13a56b['randomWait'](0x384, 0x44c));
                    _0x13a56b['clickByXY'](device['width'] / 0x2, device['height'] / 0x2), _0x4515c2 = ![];
                    continue;
                }
                _0x13a56b['superclick'](_0x20cc6c), _0x13a56b['randomWait'](0xd48, 0xe10);
                if (_0x113844['waitForActivity']('ChattingUI', 0x2, !![]))
                    console['info']('[wechat|L3927]', '已经是该群聊成员了~'), this['群聊设置参数'](_0x3ad899);
                else
                    (_0x113844['waitForActivity']('WebViewUI', 0x3, !![]) || text('加入该群聊')['exists']()) && (_0x13a56b['randomWait'](0xd48, 0xe10), _0x20cc6c = text('加入该群聊')['findOne'](0x12c), !_0x20cc6c ? (_0x20cc6c = text('二维码已过期')['findOne'](0x12c), _0x20cc6c ? console['info']('[wechat|L3941]', '当前群聊二维码已过期!') : console['info']('[wechat|L3943]', '找不到加入该群聊按钮!'), this['返回'](0x1), _0x13a56b['clickByXY'](device['width'] / 0x2, device['height'] / 0x2)) : (_0x13a56b['superclick'](_0x20cc6c), _0x44f405++, _0x13a56b['randomWait'](0x708, 0x898), this['群聊设置参数'](_0x3ad899)));
                if (!this['进入指定群聊'](_0xcdf400)) {
                    console['error']('[wechat|L3964]', '【标志】重新回到原群聊窗口失败,程序正在返回');
                    break;
                }
            }
            this['清空群聊消息']();
        }, _0x113844['获取群主信息'] = function () {
            let _0x574ef9 = '';
            if (!this['进入群聊天信息']())
                return console['error']('[wechat|L3974]', '未成功进入群聊天信息'), _0x574ef9;
            let _0x4f0e3a = className('TextView')['depth'](0x5)['find']();
            if (!_0x4f0e3a || _0x4f0e3a['length'] == 0x0)
                return _0x574ef9;
            let _0x435cff = _0x4f0e3a[0x0];
            return _0x574ef9 = (_0x435cff['text']() || '')['toString'](), console['info']('[wechat|L3985]', '群主名为:\x20' + _0x574ef9), _0x574ef9;
        }, _0x113844['批量加群好友'] = function (_0xc3cd35, _0xd38a9a, _0x33a9b5, _0x2da229, _0x310eb7) {
            if (!_0x334d32())
                return;
            this['启动']();
            if (!this['进入指定群聊'](_0x310eb7)) {
                console['log']('[wechat|L4002]', '【标志】未能成功进入群聊\x20' + _0x310eb7);
                return;
            }
            _0x13a56b['randomWait'](0x384, 0x44c);
            if (!this['进入群聊天信息']()) {
                console['log']('[wechat|L4010]', '未成功进入群聊天信息');
                return;
            }
            _0x2da229 = _0x2da229 === '' ? '群好友' : _0x2da229;
            var _0x57bd4d, _0x1cba9d, _0x3e237e;
            _0x1cba9d = ![], _0x3e237e = [];
            var _0x2a21f7;
            let _0x1c8edc = 0x3;
            while (_0x1c8edc > 0x0 && !_0x2a21f7) {
                _0x13a56b['randomWait'](0x578, 0x640), _0x2a21f7 = this['getUiObjByList']([
                    className('TextView')['text']('查看更多群成员'),
                    className('TextView')['text']('查看全部群成员')
                ]), !_0x2a21f7 && (this['scroll'](), _0x1c8edc--);
            }
            if (!_0x2a21f7) {
                toastLog('找不到\x20查看全部群成员,直接添加当前页面上的群成员');
                var _0x3c6492, _0x235965;
                _0x235965 = 0x4, _0x3c6492 = 0x0;
                var _0x4d5a46 = this['getRecords']('群好友'), _0x559528 = !![];
                let _0x5f53ab = -0x1;
                while (_0x3c6492 < _0xc3cd35 && _0x235965 > 0x0 && _0x5f53ab < 0x0) {
                    if (!className('TextView')['depth'](0x5)['exists']()) {
                        console['error']('[wechat|L4042]', '找不到,可添加的群好友'), this['scrollUp'](), _0x235965--;
                        continue;
                    }
                    let _0x433d13 = className('TextView')['depth'](0x5)['find']()['filter'](function (_0x40a9d3) {
                        if (!_0x40a9d3 || !_0x40a9d3['className'])
                            return ![];
                        let _0x3cb999 = String(_0x40a9d3['text']())['trim'](), _0x4a24dc = [
                                '',
                                'undefined',
                                'null'
                            ];
                        return _0x4a24dc['indexOf'](_0x3cb999) === -0x1 && _0x3cb999['indexOf']('群主') === -0x1;
                    })['map'](function (_0x5dd8ad) {
                        return String(_0x5dd8ad['text']())['trim']();
                    });
                    _0x559528 && (_0x433d13['shift'](), _0x559528 = ![]);
                    _0x433d13['reverse'](), _0x433d13 = _0x2b5da2(_0x433d13, _0x4d5a46);
                    if (_0x433d13['length'] === 0x0) {
                        console['log']('[wechat|L4071]', '已无新增微信,正在退出~'), _0x235965--, this['scroll']();
                        continue;
                    }
                    _0x4d5a46 = _0x4d5a46['concat'](_0x433d13), toastLog('此轮找到群友个数:' + _0x433d13['length'] + '\x0a当前找到群友总个数:' + _0x4d5a46['length']);
                    var _0x4c61c6 = _0x433d13;
                    let _0x2df91a;
                    for (let _0x3a3a0c = 0x0; _0x3a3a0c < _0x4c61c6['length']; _0x3a3a0c++) {
                        if (_0x5f53ab >= 0x0)
                            break;
                        _0x2df91a = _0x4c61c6[_0x3a3a0c];
                        if (_0x3c6492 >= _0xc3cd35)
                            break;
                        console['log']('[wechat|L4089]', '正在搜索第' + (_0x3c6492 + 0x1) + '个,' + _0x2df91a), _0x57bd4d = className('TextView')['text'](_0x2df91a)['findOne'](0x12c);
                        if (!_0x57bd4d) {
                            console['log']('[wechat|L4092]', _0x2df91a + '\x20找不到');
                            continue;
                        }
                        _0x13a56b['superclick'](_0x57bd4d);
                        let _0x2379a5 = _0x113844['waitForActivity']('ContactInfoUI', 0x3);
                        if (!_0x2379a5)
                            toastLog('[错误]未能正常进入详细资料');
                        else {
                            let _0x29256a = this['isAddable'](_0x2df91a, _0x2da229);
                            if (_0x29256a) {
                                this['scroll']();
                                let _0x579e75 = '';
                                if (text('添加到通讯录')['exists']()) {
                                    let _0x298290 = text('添加到通讯录')['findOne'](0x12c), _0x445dd2 = this['getPerson']('', _0x2df91a), _0x420a5c = this['verifyApply710'](_0x298290, _0x445dd2);
                                    if (_0x420a5c === -0x1)
                                        _0x5f53ab = 0x0;
                                    else
                                        _0x420a5c === 0x1 && (_0x5f53ab = -0x1);
                                    _0x3e237e['push'](_0x2df91a), this['addRecords']([_0x2df91a], '群好友'), _0x579e75 = '添加到通讯录' + (_0x420a5c === 0x1 ? '发送成功~' : '发送失败~');
                                } else
                                    text('发消息')['exists']() && (_0x3c6492--, _0x579e75 = '已经是好友不必添加', _0x3e237e['push'](_0x2df91a), this['addRecords']([_0x2df91a], '群好友'));
                                let _0x5215f1 = '【标志】第' + (_0x3c6492 + 0x1) + '个微信,' + _0x579e75;
                                toastLog(_0x5215f1), _0x13a56b['randomWait'](0x320, 0x4b0);
                            } else
                                _0x3e237e['push'](_0x2df91a), this['addRecords']([_0x2df91a], '群好友');
                            let _0x19640f = 0x0;
                            while (_0x113844['waitForActivity']('ContactInfoUI', 0x1) || idContains('text1')['className']('TextView')['text']('验证申请')['exists']() || idContains('text1')['className']('TextView')['text']('详细资料')['exists']()) {
                                !this['返回'](0x1) && back();
                                _0x19640f++;
                                let _0x40ec77 = idContains('text1')['className']('TextView')['findOne'](0x12c);
                                _0x40ec77 = _0x40ec77 ? String(_0x40ec77['text']()) : '', toastLog('【标志】返回次数:' + _0x19640f + '\u3000所处页面:' + _0x40ec77), _0x13a56b['randomWait'](0x578, 0x640);
                            }
                            _0x3c6492++;
                        }
                        _0x13a56b['randomWait'](_0xd38a9a, _0x33a9b5);
                    }
                    this['scrollUp'](), _0x13a56b['randomWait'](0x384, 0x44c);
                }
                _0x5f53ab >= 0x0 && _0xd3260b(_0x5f53ab);
            } else {
                _0x57bd4d = _0x2a21f7, _0x13a56b['superclick'](_0x57bd4d);
                let _0x49ce6f, _0x459dfc = 0x4;
                while (_0x459dfc > 0x0 && !_0x49ce6f) {
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x49ce6f = className('GridView')['findOne'](0x12c), _0x459dfc--;
                }
                if (!_0x49ce6f)
                    return console['log']('[wechat|L4186]', '[错误]找不到\x20GridView'), _0x1cba9d;
                console['log']('[wechat|L4189]', '【标志】找到\x20群友表格'), _0x49ce6f['scrollUp'](), _0x13a56b['randomWait'](0x578, 0x640);
                let _0x41ea59 = function (_0xe4a257, _0x26c6f0) {
                        var _0x4a0037 = _0x113844['getRecords']('群好友');
                        let _0x528c93 = [], _0x9c336 = 0x0, _0x1252b0 = 0x0, _0x5c31a4 = 0x3;
                        while (_0x1252b0 < 0xa && _0x5c31a4 > 0x0) {
                            _0x13a56b['randomWait'](0x578, 0x640);
                            if (!className('TextView')['depth'](0x4)['exists']()) {
                                console['log']('[wechat|L4205|C\x20->\x20nameArr]', '[错误]找不到,可添加的群好友'), _0xe4a257['scrollDown'](), _0x1252b0++;
                                continue;
                            }
                            let _0x3e45c8 = className('TextView')['depth'](0x4)['find']()['filter'](function (_0x11657d) {
                                if (!_0x11657d || !_0x11657d['className'])
                                    return ![];
                                let _0x5e8866 = String(_0x11657d['text']())['trim'](), _0x178c1f = [
                                        '',
                                        'undefined',
                                        'null'
                                    ];
                                return _0x178c1f['indexOf'](_0x5e8866) === -0x1 && _0x5e8866['indexOf']('群主') === -0x1;
                            })['map'](function (_0x4e0d5f) {
                                return String(_0x4e0d5f['text']())['trim']();
                            });
                            _0x3e45c8 = _0x2b5da2(_0x3e45c8, _0x4a0037), _0x528c93 = _0x528c93['concat'](_0x3e45c8), _0x528c93 = _0x5b9539(_0x528c93), toastLog('此轮找到群友个数:' + _0x3e45c8['length'] + '\x0a当前找到群友总个数:' + _0x528c93['length']);
                            if (_0x528c93['length'] > _0x26c6f0)
                                console['log']('[wechat|L4230|C\x20->\x20nameArr]', '【标志】群友获取个数已足够'), _0x5c31a4 = 0x0;
                            else
                                _0x528c93['length'] > _0x9c336 ? _0x9c336 = _0x528c93['length'] : (console['log']('[wechat|L4235|C\x20->\x20nameArr]', '【标志】群友获取个数不再增加'), _0x5c31a4--);
                            _0xe4a257['scrollDown'](), _0x1252b0++;
                        }
                        return toastLog(_0x528c93['join'](',')), _0x528c93['shift'](), _0x528c93['reverse'](), toastLog('lists.length:' + _0x528c93['length']), _0x528c93 = _0x528c93['slice'](0x0, _0x26c6f0 - 0x1), _0x528c93;
                    }(_0x49ce6f, _0xc3cd35), _0x428547 = 0x0, _0x2bb063 = 0x4, _0x37832a = -0x1;
                while (_0x428547 < _0xc3cd35 && _0x41ea59['length'] > 0x0 && _0x2bb063 > 0x0 && _0x37832a < 0x0) {
                    _0x57bd4d = className('EditText')['findOne'](0x12c);
                    if (!_0x57bd4d) {
                        console['log']('[wechat|L4256]', '找不到\x20搜索框');
                        break;
                    }
                    let _0x133f8e = _0x41ea59['shift']();
                    console['log']('[wechat|L4261]', '正在搜索第' + (_0x428547 + 0x1) + '个,' + _0x133f8e);
                    if (!_0x13a56b['input'](_0x57bd4d, _0x133f8e)) {
                        toastLog('输入失败');
                        continue;
                    }
                    _0x13a56b['randomWait'](0x578, 0x640), _0x57bd4d = className('TextView')['text'](_0x133f8e)['findOne'](0x12c);
                    if (!_0x57bd4d) {
                        console['log']('[wechat|L4270]', _0x133f8e + '找不到');
                        continue;
                    }
                    _0x13a56b['superclick'](_0x57bd4d);
                    let _0x273358 = _0x113844['waitForActivity']('ContactInfoUI', 0x3);
                    if (!_0x273358)
                        toastLog('[错误]未能正常进入详细资料');
                    else {
                        let _0x1c41d8 = this['isAddable'](_0x133f8e, _0x2da229);
                        if (_0x1c41d8) {
                            this['scroll']();
                            let _0x34d75f = '';
                            if (text('添加到通讯录')['exists']()) {
                                let _0x299e49 = text('添加到通讯录')['findOne'](0x12c), _0x1f16d0 = this['getPerson']('', _0x133f8e), _0x594385 = this['verifyApply710'](_0x299e49, _0x1f16d0);
                                if (_0x594385 === -0x1)
                                    _0x37832a = 0x0;
                                else
                                    _0x594385 === 0x1 && (_0x37832a = -0x1);
                                this['addRecords']([_0x133f8e], '群好友'), _0x34d75f = '添加到通讯录' + (_0x594385 === 0x1 ? '发送成功~' : '发送失败~');
                            } else
                                text('发消息')['exists']() && (toastLog('已经是好友不必添加'), _0x428547--, _0x34d75f = '已经是好友不必添加', _0x3e237e['push'](_0x133f8e), this['addRecords']([_0x133f8e], '群好友'));
                            let _0x46ac48 = '【标志】第' + (_0x428547 + 0x1) + '个微信,' + _0x34d75f;
                            toastLog(_0x46ac48), _0x13a56b['randomWait'](0x320, 0x4b0);
                        } else
                            _0x3e237e['push'](_0x133f8e), this['addRecords']([_0x133f8e], '群好友');
                        let _0x26607d = 0x0;
                        while (text('添加到通讯录')['findOne'](0x12c) || text('设置备注和标签')['findOne'](0x12c) || _0x113844['waitForActivity']('ContactInfoUI', 0x1) || idContains('text1')['className']('TextView')['text']('验证申请')['exists']() || idContains('text1')['className']('TextView')['text']('详细资料')['exists']()) {
                            let _0x3550f6 = idContains('text1')['className']('TextView')['findOne'](0x12c);
                            _0x3550f6 = _0x3550f6 ? String(_0x3550f6['text']()) : '', !this['返回'](0x1) && back(), _0x26607d++, toastLog('【标志】返回次数:' + _0x26607d + '\u3000所处页面' + _0x3550f6), _0x13a56b['randomWait'](0x320, 0x4b0);
                        }
                        _0x428547++;
                    }
                    _0x13a56b['randomWait'](_0xd38a9a, _0x33a9b5);
                }
                _0x37832a >= 0x0 && _0xd3260b(_0x37832a);
            }
        }, _0x113844['漂流瓶'] = function (_0x3cd754, _0x138e17, _0x23f9ac) {
            this['启动']();
            if (!this['进入漂流瓶']())
                return;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0xf3d032, _0x326ae2, _0x2e8ee9, _0x14b528 = 0x0;
            while (_0x14b528 <= _0x3cd754) {
                _0x14b528++, _0x326ae2 = ![], _0x2e8ee9 = 0x0;
                while (_0x2e8ee9 < 0x4 && !_0x326ae2) {
                    _0x326ae2 = className('ImageView')['desc']('扔一个')['exists'](), _0x2e8ee9++, _0x13a56b['randomWait'](0x384, 0x44c);
                }
                if (!_0x326ae2) {
                    console['log']('[wechat|L4371]', '找不到\x20扔一个');
                    break;
                }
                _0xf3d032 = className('ImageView')['desc']('扔一个')['findOne'](0x12c), _0x13a56b['superclick'](_0xf3d032), _0x13a56b['randomWait'](0xaf0, 0xc80), _0xf3d032 = className('ImageButton')['desc']('文本语音切换')['findOne'](0x12c);
                if (_0xf3d032)
                    _0x13a56b['superclick'](_0xf3d032), _0x13a56b['randomWait'](0xaf0, 0xc80);
                else {
                    console['log']('[wechat|L4390]', '找不到\x20文本语音切换');
                    break;
                }
                _0xf3d032 = className('EditText')['findOne'](0x12c);
                if (_0xf3d032) {
                    var _0x52bdc4 = this['createRandomContent']('');
                    if (!_0x13a56b['input'](_0xf3d032, _0x52bdc4)) {
                        console['log']('[wechat|L4398]', '输入失败');
                        break;
                    }
                    _0x13a56b['randomWait'](0xaf0, 0xc80);
                } else {
                    console['log']('[wechat|L4403]', '找不到\x20输入框');
                    break;
                }
                _0xf3d032 = className('Button')['text']('扔一个')['findOne'](0x12c);
                !_0xf3d032 && (console['log']('[wechat|L4409]', '找不到\x20扔一个'), _0xf3d032 = className('Button')['text']('扔出去')['findOne'](0x190));
                !_0xf3d032 && (console['log']('[wechat|L4413]', '找不到\x20扔出去'), _0xf3d032 = className('Button')['textContains']('扔')['findOne'](0x12c));
                !_0xf3d032 && (console['log']('[wechat|L4417]', '找不到\x20扔'), _0xf3d032 = className('Button')['findOne'](0x12c));
                !_0xf3d032 && console['log']('[wechat|L4421]', '找不到\x20Button');
                if (_0xf3d032)
                    _0x13a56b['clickByPos'](_0xf3d032), _0x13a56b['randomWait'](0xce4, 0xe74);
                else {
                    console['log']('[wechat|L4429]', '找不到按钮\x20扔漂流瓶');
                    break;
                }
                _0x13a56b['randomWait'](_0x138e17, _0x23f9ac);
            }
            back();
        }, _0x113844['新的朋友添加'] = function (_0x4ff588, _0x29128b, _0x1298b6, _0x2313ff) {
            this['启动']();
            if (!this['进入新的朋友']())
                return;
            _0x13a56b['randomWait'](0xaf0, 0xc80), _0x2313ff = _0x2313ff === '客户' ? '新的朋友' : _0x2313ff;
            var _0x3ac62e = 0x0, _0x6cffaa = '', _0x50d1a2 = 0x6, _0x4f37c = this['getRecords']('新的朋友'), _0x2142a7 = [];
            while (_0x3ac62e < _0x4ff588 && _0x50d1a2 > 0x0) {
                if (!className('Button')['text']('添加')['exists']()) {
                    this['scroll'](), _0x13a56b['randomWait'](0x578, 0x640), _0x50d1a2--, console['log']('[wechat|L4459]', '找不到\x20添加按钮,\x20剩余次数:' + _0x50d1a2);
                    continue;
                }
                _0x50d1a2 = 0x4;
                let _0x824ce4 = className('Button')['text']('添加')['find']();
                console['log']('[wechat|L4464]', '找到“添加”个数：' + _0x824ce4['length']);
                let _0x3ec394 = this['用户数组获取'](_0x824ce4, '新的朋友添加');
                _0x3ec394 = this['用户数组过滤'](_0x3ec394, _0x4f37c);
                let _0x4ccd79 = _0x3ec394['map'](this['getPhone']);
                for (let _0x4ce953 = 0x0; _0x4ce953 < _0x4ccd79['length']; _0x4ce953++) {
                    console['log']('[wechat|L4469]', 'name:' + _0x3ec394[_0x4ce953]['name'] + '\x20phone:' + _0x4ccd79[_0x4ce953]);
                }
                for (let _0x5be93e = 0x0; _0x5be93e < _0x3ec394['length']; _0x5be93e++) {
                    let _0x455549 = _0x3ec394[_0x5be93e]['name'], _0x1f8044 = _0x4ccd79[_0x3ac62e];
                    _0x4f37c['push'](_0x455549), _0x2142a7['push'](_0x455549), this['addRecords']([_0x455549], '新的朋友');
                    let _0xd6ed8d = _0x3ec394[_0x5be93e]['idx'];
                    if (_0x3ac62e >= _0x4ff588)
                        break;
                    if (!this['新的朋友验证'](_0x824ce4[_0xd6ed8d], _0x2313ff, _0x455549, _0x1f8044)) {
                    }
                    _0x3ac62e++, _0x6cffaa = '第' + _0x3ac62e + '个添加', console['log']('[wechat|L4489]', _0x6cffaa), _0x13a56b['randomWait'](_0x29128b, _0x1298b6);
                }
                this['scroll']();
            }
        }, _0x113844['新的朋友添加快速'] = function (_0x4b7b39, _0x22a22a, _0x350399) {
            this['启动']();
            if (!this['进入新的朋友']())
                return;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x5930aa = 0x0, _0x231e37 = '', _0x587dae = 0x6, _0x32de1a = [];
            while (_0x5930aa < _0x4b7b39 && _0x587dae > 0x0) {
                if (!className('Button')['text']('添加')['exists']()) {
                    this['scroll'](), _0x13a56b['randomWait'](0x8fc, 0xa8c), _0x587dae--, console['log']('[wechat|L4516]', '找不到\x20添加按钮,\x20剩余次数:' + _0x587dae);
                    continue;
                }
                _0x587dae = 0x4;
                var _0x4d039e = className('Button')['text']('添加')['find']();
                console['log']('[wechat|L4521]', '找到“添加”个数：' + _0x4d039e['length']);
                var _0x4e09da = this['用户数组获取'](_0x4d039e, '新的朋友添加');
                _0x4e09da = this['用户数组过滤'](_0x4e09da, _0x32de1a);
                for (let _0x1cc2be = 0x0; _0x1cc2be < _0x4e09da['length']; _0x1cc2be++) {
                    var _0xb8194e = _0x4e09da[_0x1cc2be]['name'];
                    _0x32de1a['push'](_0xb8194e), this['addRecords']([_0xb8194e], '新的朋友');
                    var _0x4cb347 = _0x4e09da[_0x1cc2be]['idx'];
                    if (_0x5930aa >= _0x4b7b39)
                        break;
                    if (!this['新的朋友验证快速'](_0x4d039e[_0x4cb347])) {
                    }
                    _0x5930aa++, _0x231e37 = '【标志】第' + (_0x5930aa + 0x1) + '个添加', console['log']('[wechat|L4539]', _0x231e37), _0x13a56b['randomWait'](_0x22a22a, _0x350399);
                }
                this['scroll']();
            }
        }, _0x113844['新的朋友验证快速'] = function (_0x3ffa3c) {
            console['log']('[wechat|L4547]', '【标志】进入新的好友验证');
            let _0x2e8be2 = ![];
            if (!_0x13a56b['superclick'](_0x3ffa3c))
                return _0x2e8be2;
            return _0x13a56b['randomWait'](0x708, 0x898), this['处理弹窗']('确定'), _0x2e8be2 = !![], _0x2e8be2;
        }, _0x113844['新的朋友验证'] = function (_0x396a3e, _0x1ba1af, _0x4abae7, _0x1119e2) {
            console['log']('[wechat|L4563]', '【标志】进入新的好友验证');
            let _0x26bc22 = ![];
            if (!_0x13a56b['superclick'](_0x396a3e['parent']()))
                return _0x26bc22;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            let _0xe695dd = _0x4abae7 ? _0x4abae7 : '', _0x5d9f5d = _0x1119e2 ? _0x1119e2 : '';
            const _0x5f4a34 = this['isAddable'](_0xe695dd, _0x1ba1af);
            if (_0x5f4a34) {
                this['scroll']();
                var _0x4f05c2;
                if (text('添加到通讯录')['exists']()) {
                    _0x396a3e = text('添加到通讯录')['findOne'](0x12c);
                    let _0x43d04f = this['getPerson'](_0x5d9f5d, _0xe695dd);
                    _0x26bc22 = this['verifyApply710'](_0x396a3e, _0x43d04f) === 0x1, _0x4f05c2 = _0x26bc22 ? '添加请求成功发送~' : '添加请求发送失败~', console['log']('[wechat|L4594]', _0x4f05c2);
                } else {
                    if (text('发消息')['exists']()) {
                        _0x4f05c2 = '已经是好友不必添加';
                        let _0x368fb3 = this['getPerson'](_0x5d9f5d, _0xe695dd);
                        this['push'](_0x368fb3, '通过'), console['log']('[wechat|L4600]', _0x4f05c2);
                    }
                }
            }
            return !this['返回'](0x1) && back(), _0x26bc22;
        }, _0x113844['朋友验证'] = function (_0x45ce91) {
            console['log']('[wechat|L4610]', '【标志】正在进入朋友验证');
            let _0x44fb93 = ![];
            if (_0x45ce91) {
                if (!_0x13a56b['superclick'](_0x45ce91))
                    return _0x44fb93;
                _0x13a56b['randomWait'](0x578, 0x640);
            }
            let _0xc823c8 = 0x5, _0x3047f1;
            do {
                _0x13a56b['randomWait'](0x384, 0x44c), _0x3047f1 = idContains('text1')['className']('TextView')['text']('朋友验证')['exists'](), !_0x3047f1 && this['处理弹窗']('取消'), _0xc823c8--;
            } while (!_0x3047f1 && _0xc823c8 > 0x0);
            if (!_0x3047f1)
                toastLog('【标志】未成功跳转\x20朋友验证');
            else {
                var _0x28c7b5 = className('TextView')['text']('完成')['findOne'](0x12c);
                !_0x28c7b5 && (_0x28c7b5 = className('Button')['text']('完成')['findOne'](0x12c));
                !_0x28c7b5 && (_0x28c7b5 = text('完成')['findOne'](0x12c));
                _0x28c7b5 && _0x13a56b['superclick'](_0x28c7b5);
                _0x13a56b['randomWait'](0x384, 0x44c);
                var _0x3974f2 = _0x113844['waitForActivity']('ContactInfoUI', 0x3);
                !_0x3974f2 ? toastLog('[提示]未能正常进入详细资料,可能会造成异常') : _0x44fb93 = !![], !this['返回'](0x1) && back();
            }
            return _0x44fb93 && console['log']('[wechat|L4676]', '执行成功'), console['log']('[wechat|L4678]', '【标志】已完成朋友验证'), _0x44fb93;
        }, _0x113844['通讯录加好友'] = function (_0x50c2a6, _0x3ba3ca, _0x48f980, _0x3cf238, _0x1b8206) {
            if (!_0x334d32())
                return;
            this['启动']();
            if (!this['进入通讯录']()) {
                console['log']('[wechat|L4691]', '【标志】未能成功进入\x20查看手机通讯录');
                return;
            }
            var _0x3b52f7 = 0x0, _0x152e09 = '', _0x18b1a2 = 0x4;
            const _0x53d649 = this['getRecords']('通讯录');
            let _0x5dd402 = _0x1b8206 === 'fast' ? this['verifyApplyFast'] : this['verifyApply710'];
            _0x5dd402 = _0x5dd402['bind'](this);
            var _0x134436 = this['Grobal']['scrollNum'];
            while (_0x134436 > 0x0) {
                this['scroll'](), _0x134436--, _0x3b52f7++, console['log']('[wechat|L4709]', '划动屏幕,第' + _0x3b52f7 + '次'), _0x13a56b['randomWait'](0x384, 0x44c);
            }
            _0x13a56b['randomWait'](0x708, 0x898);
            let _0x25a021 = [], _0x3fb4df, _0x9aed35 = '', _0x535f10 = '', _0x1d0325 = -0x1, _0xa0d809 = 0x0;
            const _0x2f6af4 = _0x50c2a6;
            while (_0xa0d809 < _0x2f6af4 && _0x18b1a2 > 0x0 && _0x1d0325 < 0x0) {
                if (!className('TextView')['text']('添加')['exists']()) {
                    this['scroll'](), this['Grobal']['scrollNum']++;
                    let _0x1167fa = className('TextView')['textStartsWith']('微信:')['findOnce']();
                    if (_0x1167fa) {
                        let _0x3dd23a = (_0x1167fa['text']() || '')['toString']();
                        _0x535f10 == _0x3dd23a ? _0x18b1a2-- : _0x18b1a2 = 0x4, _0x13a56b['toastInfo']('此轮,首个用户为' + _0x3dd23a + ',上轮,首个用户为' + _0x535f10 + '.正常执行中~'), _0x535f10 = _0x3dd23a;
                    } else
                        console['info']('[wechat|L4739]', '此次未发现可添加的微信~'), _0x18b1a2--;
                    continue;
                }
                let _0x4236be = className('TextView')['text']('添加')['find'](), _0xb718b = this['用户数组获取'](_0x4236be, '通讯录加好友'), _0x3a2f8b = [];
                for (let _0x2eb9ba = 0x0; _0x2eb9ba < _0xb718b['length']; _0x2eb9ba++) {
                    let _0x52a09c = _0xb718b[_0x2eb9ba];
                    _0x3a2f8b['push'](_0x52a09c['name']);
                }
                let _0x4eac67 = _0x3a2f8b['sort']()['join']('|');
                if (_0x9aed35 === _0x4eac67) {
                    this['scroll'](), this['Grobal']['scrollNum']++, _0x18b1a2--;
                    continue;
                }
                _0x9aed35 = _0x4eac67;
                let _0x532baa = this['用户数组过滤'](_0xb718b, _0x53d649), _0x22567c = [];
                for (let _0x4fe88b = 0x0; _0x4fe88b < _0x532baa['length']; _0x4fe88b++) {
                    let _0x4bd3fa = _0x532baa[_0x4fe88b];
                    _0x22567c['push'](_0x4bd3fa['name']);
                }
                if (_0x532baa['length'] > 0x0) {
                    _0x13a56b['toastInfo']('找到“添加”数：' + _0x4236be['length'] + '.可用“添加”数：' + _0x532baa['length'] + '.[' + _0x22567c['join']('|') + ']');
                    let _0x84850e = _0x532baa['map'](this['getPhone']);
                    _0x18b1a2 = 0x4;
                    let _0x3885f7;
                    for (let _0x4db6df = _0x532baa['length'] - 0x1; _0x4db6df >= 0x0; _0x4db6df--) {
                        if (_0xa0d809 >= _0x2f6af4 || _0x1d0325 >= 0x0)
                            break;
                        let _0x564058 = _0x532baa[_0x4db6df]['name'], _0x191ccc = _0x84850e[_0x4db6df], _0x597af0 = _0x532baa[_0x4db6df]['idx'];
                        _0x53d649['push'](_0x564058), this['addRecords']([_0x564058], '通讯录'), _0x3885f7 = className('TextView')['textContains'](_0x564058)['findOne'](0x258);
                        if (_0x3885f7) {
                            _0x13a56b['superclick'](_0x3885f7), _0x13a56b['randomWait'](0x384, 0x44c), console['log']('[wechat|L4797]', 'idx:' + _0x597af0 + '\x20name:' + _0x564058), this['scroll']();
                            let _0x523072 = '';
                            if (text('添加到通讯录')['findOne'](0x258)) {
                                const _0x13d92e = this['isAddable'](_0x564058, _0x3cf238);
                                if (_0x13d92e) {
                                    let _0xc38269 = text('添加到通讯录')['findOne'](0x12c);
                                    _0x3fb4df = this['getPerson'](_0x191ccc, _0x564058);
                                    let _0x4c36bf = _0x5dd402(_0xc38269, _0x3fb4df);
                                    if (_0x4c36bf === -0x1)
                                        _0x1d0325 = 0x0;
                                    else
                                        _0x4c36bf === 0x1 && (_0x1d0325 = -0x1, _0x25a021['push'](_0x564058));
                                    _0xa0d809 += 0x1, _0x523072 = _0x4c36bf === 0x1 ? '成功发送~' : '申请验证异常~', _0x152e09 = '【标志】第' + _0xa0d809 + '个微信' + _0x564058 + ',' + _0x523072, console['log']('[wechat|L4815]', _0x152e09);
                                } else
                                    _0x523072 = '略过发送~', _0x152e09 = '【标志】微信' + _0x564058 + ',' + _0x523072, console['log']('[wechat|L4820]', _0x152e09);
                            } else
                                text('发消息')['findOne'](0x258) && (_0x523072 = '已经是好友', _0x152e09 = '【标志】微信' + _0x564058 + ',' + _0x523072, console['log']('[wechat|L4826]', _0x152e09));
                            this['进入通讯录'](), _0x13a56b['randomWait'](_0x3ba3ca, _0x48f980);
                        } else
                            _0x152e09 = '第' + _0xa0d809 + '个微信,未找到,软件运行期间勿触碰屏幕', console['log']('[wechat|L4837]', _0x152e09);
                    }
                } else
                    _0x13a56b['toastInfo']('找到“添加”个数：' + _0x4236be['length'] + '.可用“添加”个数为0,正在向下翻页继续查找!');
                this['scroll'](), this['Grobal']['scrollNum']++;
            }
            return _0x1d0325 >= 0x0 && _0xd3260b(_0x1d0325), _0x13a56b['toastInfo']('脚本执行完毕.总执行数:' + _0x2f6af4 + '\x20实际发送请求数:' + _0xa0d809 + '\x20成功加人:' + _0x25a021['length']), _0x25a021['length'] === 0x0 && console['warn']('[wechat|L4851]', '此次添加人数为0.有以下几种可能,请分别予以确认:\x20\x0a1微信是否已开启通讯录推荐选项;\x0a2能否在\x22查看手机通讯录\x22页面看到可添加的按钮;\x0a3请确认是否给予本软件读写通讯录权限;\x0a4请确认是否已成功执行导入通讯录功能;'), _0x1b8206 === 'fast' && _0x113844['群发消息给好友'](_0x25a021, parseInt(_0x3ba3ca * 1.3), parseInt(_0x48f980 * 1.3)), !![];
        }, _0x113844['通讯录删除联系人'] = function (_0x25e7be, _0xc80f87) {
            this['启动']();
            if (!this['进入通讯录']()) {
                console['log']('[wechat|L4871]', '【标志】未能成功进入\x20查看手机通讯录');
                return;
            }
            _0x18d7f8 = _0x18d7f8 || _0xc280bc(0x6);
            var _0x168a8c = this['getRecords']('通讯录'), _0x4cde7a = 0x0, _0x4e6113 = '', _0x537787 = 0x4;
            sleep(0x5dc);
            let _0x8fb34f = '', _0x4912d3 = '';
            while (_0x537787 > 0x0) {
                if (!className('TextView')['text']('添加')['exists']()) {
                    this['scroll'](), this['Grobal']['scrollNum']++;
                    let _0x41910b = className('TextView')['textStartsWith']('微信:')['findOnce']();
                    if (_0x41910b) {
                        let _0x10d2f8 = (_0x41910b['text']() || '')['toString']();
                        _0x4912d3 == _0x10d2f8 ? _0x537787-- : _0x537787 = 0x4, _0x13a56b['toastInfo']('此轮,首个用户为' + _0x10d2f8 + ',上轮,首个用户为' + _0x4912d3 + '.正常执行中~'), _0x4912d3 = _0x10d2f8;
                    } else
                        _0x537787--;
                    continue;
                }
                let _0x3c9e02 = className('TextView')['text']('添加')['find'](), _0x494c77 = this['用户数组获取'](_0x3c9e02, '通讯录加好友'), _0x59def3 = [];
                for (let _0xe81899 = 0x0; _0xe81899 < _0x494c77['length']; _0xe81899++) {
                    let _0x3b4a17 = _0x494c77[_0xe81899];
                    _0x59def3['push'](_0x3b4a17['name']);
                }
                let _0x4c1d5a = _0x59def3['sort']()['join']('|');
                if (_0x8fb34f == _0x4c1d5a) {
                    this['scroll'](), this['Grobal']['scrollNum']++, _0x537787--;
                    continue;
                }
                _0x8fb34f = _0x4c1d5a, console['log']('[wechat|L4949]', 'userAllArr', _0x494c77), console['log']('[wechat|L4950]', 'AddedUserArr', _0x168a8c);
                let _0x2aed42 = this['用户数组过滤并集'](_0x494c77, _0x168a8c), _0x13e5a7 = [];
                for (let _0x48e22f = 0x0; _0x48e22f < _0x2aed42['length']; _0x48e22f++) {
                    let _0x417b56 = _0x2aed42[_0x48e22f];
                    _0x13e5a7['push'](_0x417b56['name']);
                }
                if (_0x2aed42['length'] > 0x0) {
                    _0x13a56b['toastInfo']('找到“添加”数：' + _0x3c9e02['length'] + '.可用“添加”数：' + _0x2aed42['length'] + '.[' + _0x13e5a7['join']('|') + ']');
                    let _0x51ba3b = _0x2aed42['map'](this['getContact']);
                    _0x537787 = 0x4;
                    let _0x23f20e;
                    for (let _0x35017c = _0x51ba3b['length'] - 0x1; _0x35017c >= 0x0; _0x35017c--) {
                        let _0xe67ea3 = _0x51ba3b[_0x35017c], _0x4b9ed6 = _0xe67ea3['name'], _0x492c1f = _0xe67ea3['idx'];
                        _0x168a8c['indexOf'](_0x4b9ed6) > -0x1 && _0x168a8c['splice'](_0x168a8c['indexOf'](_0x4b9ed6), 0x1);
                        try {
                            _0x18d7f8['deleteContact'](_0xe67ea3);
                        } catch (_0x52a421) {
                            console['log']('[wechat|L4980]', '执行ct.deleteContact出错:' + JSON['stringify'](_0x52a421));
                        }
                        _0x23f20e = className('TextView')['textContains'](_0x4b9ed6)['findOne'](0x12c);
                        if (_0x23f20e) {
                            _0x13a56b['superclick'](_0x23f20e), console['log']('[wechat|L4994]', 'idx:' + _0x492c1f + '\x20name:' + _0x4b9ed6), this['scroll']();
                            let _0x3a6511 = '';
                            if (text('添加到通讯录')['exists']()) {
                                let _0x28448b = text('添加到通讯录')['findOne'](0x12c);
                                _0x13a56b['superclick'](_0x28448b);
                            } else {
                                if (text('发消息')['exists']()) {
                                }
                            }
                            _0x4cde7a++, _0x4e6113 = '【标志】第' + (_0x4cde7a + 0x1) + '个微信,' + _0x3a6511, console['log']('[wechat|L5009]', _0x4e6113), this['进入通讯录'](), _0x13a56b['randomWait'](_0x25e7be, _0xc80f87);
                        } else
                            _0x4e6113 = '第' + _0x4cde7a + '个微信,未找到,软件运行期间勿触碰屏幕', console['log']('[wechat|L5019]', _0x4e6113);
                    }
                } else
                    _0x13a56b['toastInfo']('找到“添加”个数：' + _0x3c9e02['length'] + '.可用“添加”个数为0,正在向下翻页继续查找!');
                this['scroll']();
            }
            _0x13a56b['toastInfo']('脚本执行完毕.删除联系人,共:' + _0x4cde7a);
        }, _0x113844['朋友圈点赞'] = function (_0x23ca9a, _0x49c660, _0x16850c) {
            this['启动']();
            const _0x1db835 = this['getWxData']()['nickname'];
            if (!this['intoPyq']())
                return;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x55e596 = 0x0, _0x438872 = 0x4;
            while (_0x55e596 < _0x23ca9a && _0x438872 > 0x0) {
                var _0x836802 = this['getUiObjByList']([
                    idContains('r2')['className']('ImageView'),
                    className('ImageView')['desc']('评论')
                ], 'find');
                if (!_0x836802 || _0x836802['length'] === 0x0) {
                    this['scroll'](), _0x438872--;
                    continue;
                }
                _0x438872 = 0x4, console['log']('[wechat|L5061]', '找到“评论”个数：' + _0x836802['length']);
                for (let _0x5fe83f = 0x0; _0x5fe83f < _0x836802['length']; _0x5fe83f++) {
                    let _0x40951e = _0x836802[_0x5fe83f];
                    if (_0x1db835)
                        try {
                            let _0x11e3dc = _0x40951e['parent']()['bounds'](), _0x38b372 = boundsInside(_0x11e3dc['left'], _0x11e3dc['top'], _0x11e3dc['right'], _0x11e3dc['bottom'])['textContains'](_0x1db835)['find']();
                            if (_0x38b372['length'] > 0x0) {
                                toastLog('已点过赞了~', _0x1db835);
                                continue;
                            }
                        } catch (_0x1ce8d1) {
                            console['log']('[wechat|L5076]', JSON['stringify'](_0x1ce8d1)), _0x113844['启动'](!![]);
                            continue;
                        }
                    if (this['点赞'](_0x40951e)) {
                        _0x55e596++;
                        var _0x139cca = '';
                        _0x139cca = '第' + _0x55e596 + '个点赞', console['log']('[wechat|L5086]', _0x139cca);
                    }
                    _0x13a56b['randomWait'](_0x49c660, _0x16850c);
                }
                this['scroll']();
            }
        }, _0x113844['朋友圈点赞并评论'] = function (_0x145fdc, _0x1d1900, _0x143e49) {
            this['启动']();
            if (!this['intoPyq']()) {
                console['log']('[wechat|L5096]', '【标志】未能成功进入\x20朋友圈');
                return;
            }
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x5779e7 = 0x0, _0x4b9a5c = 0x4;
            while (_0x5779e7 < _0x145fdc && _0x4b9a5c > 0x0) {
                if (!className('ImageView')['desc']('评论')['exists']()) {
                    this['scroll'](), _0x4b9a5c--;
                    continue;
                }
                _0x4b9a5c = 0x4;
                var _0x166644 = className('ImageView')['desc']('评论')['find']();
                console['log']('[wechat|L5112]', '找到“评论”个数：' + _0x166644['length']);
                for (let _0x5881ad = 0x0; _0x5881ad < _0x166644['length']; _0x5881ad++) {
                    if (_0x5779e7 >= _0x145fdc)
                        break;
                    let _0x9a75d8 = '';
                    this['点赞'](_0x166644[_0x5881ad]) && (_0x5779e7++, _0x9a75d8 = '第' + _0x5779e7 + '个点赞', console['log']('[wechat|L5121]', _0x9a75d8)), _0x13a56b['randomWait'](0x708, 0x898), this['评论'](_0x166644[_0x5881ad]) && (_0x9a75d8 = '第' + _0x5779e7 + '个评论', console['log']('[wechat|L5126]', _0x9a75d8)), _0x13a56b['randomWait'](_0x1d1900, _0x143e49);
                }
                this['scroll']();
            }
        }, _0x113844['评论'] = function (_0x191101) {
            let _0x5652b1 = ![];
            var _0x576ebc;
            if (_0x13a56b['click'](_0x191101)) {
                _0x13a56b['randomWait'](0x384, 0x44c), _0x576ebc = className('TextView')['text']('评论')['findOne'](0x12c);
                if (!_0x576ebc)
                    _0x13a56b['click'](_0x191101);
                else {
                    _0x13a56b['click'](_0x576ebc);
                    var _0x2d451c = this['createRandomContent']();
                    _0x13a56b['randomWait'](0x708, 0x898), _0x576ebc = className('EditText')['text']('评论')['findOne'](0x12c), _0x576ebc && (_0x13a56b['input'](_0x576ebc, _0x2d451c), _0x13a56b['randomWait'](0x708, 0x898)), _0x576ebc = this['getBtnOrTxt']('发送'), _0x576ebc ? _0x13a56b['click'](_0x576ebc) && (console['log']('[wechat|L5155]', '评论成功'), _0x5652b1 = !![]) : (console['log']('[wechat|L5159]', '找不到发送按钮'), !this['返回'](0x1) && back());
                }
            }
            return _0x5652b1;
        }, _0x113844['点赞'] = function (_0x29a6c0) {
            let _0x250f87 = ![];
            if (_0x13a56b['superclick'](_0x29a6c0)) {
                _0x13a56b['randomWait'](0x5dc, 0x6a4);
                var _0x2bbfb7 = this['getUiObjByList']([
                    className('TextView')['text']('赞'),
                    className('LinearLayout')['idContains']('n3'),
                    className('LinearLayout')['idContains']('n2'),
                    className('LinearLayout')['idContains']('ka')
                ]);
                !_0x2bbfb7 ? (_0x250f87 = ![], _0x13a56b['superclick'](_0x29a6c0), console['log']('[wechat|L5177]', '未找到点赞按钮')) : _0x250f87 = _0x13a56b['superclick'](_0x2bbfb7);
            } else
                console['log']('[wechat|L5182]', '点赞失败');
            return _0x250f87;
        }, _0x113844['搜索添加好友'] = function (_0x53e121, _0x4703aa, _0x3b149b, _0x3ed833, _0x3b801c, _0x881dac) {
            if (!_0x334d32())
                return;
            let _0x1e9f83 = this['Grobal']['savePath'] + _0x3ed833 + '.csv';
            var _0x2feea8 = this['getRecords']('搜索添加');
            if (!files['exists'](_0x1e9f83) || !files['isFile'](_0x1e9f83)) {
                console['error']('[wechat|L5203]', '当前文件:' + _0x1e9f83 + '不存在~');
                return;
            }
            var _0x3a251d = open(_0x1e9f83, 'r', 'gbk'), _0x4cbc90 = [];
            while (_0x4cbc90['length'] < _0x53e121) {
                let _0x2eb79d = _0x3a251d['readline']();
                if (!_0x2eb79d)
                    break;
                let _0x9600df = _0x2eb79d['split'](',')[0x0];
                _0x2feea8['indexOf'](_0x9600df) > -0x1 ? console['log']('[wechat|L5216]', '该用户' + _0x9600df + '已搜索添加过') : _0x4cbc90['push'](_0x2eb79d);
            }
            let _0x297764 = _0x3a251d['readlines']()['join']('|||');
            _0x3a251d['close']();
            if (_0x4cbc90['length'] == 0x0) {
                _0x13a56b['toastError']('文件：[' + _0x1e9f83 + ']已无数据，请更换数据文件！！！');
                return;
            }
            _0x4cbc90['length'] < _0x53e121 && _0x13a56b['toastWarn']('文件：[' + _0x1e9f83 + ']可添加数据不足,请及时补充或更新数据文件');
            toastLog('本轮计划添加数' + _0x53e121 + '个,可添加数' + _0x4cbc90['length'] + '个'), _0x53e121 = _0x4cbc90['length'], this['启动']();
            let _0x261b88 = ![];
            try {
                (this['intoSearchFriendNew']() || this['intoHomeSearch']()) && (_0x261b88 = !![]);
            } catch (_0x1346c1) {
                console['error']('[wechat|L5243]', _0x1346c1), _0x113844['启动'](!![]), console['error']('[wechat|L5245]', '未能在首页进入搜索状态~');
            }
            if (!_0x261b88) {
                console['error']('[wechat|L5248]', '未能进入添加搜索页~\x20||\x20未能在首页进入搜索状态~');
                return;
            }
            _0xbfeaaa = _0xbfeaaa || _0xc280bc(0x9), console['log']('[wechat|L5253]', '【标志】开始搜索添加！');
            var _0x27f8b9 = [];
            let _0x3ffe1a = _0x881dac ? this['verifyApplyFast'] : this['verifyApply710'];
            _0x3ffe1a = _0x3ffe1a['bind'](this);
            const _0x3eb222 = [
                    className('EditText')['textStartsWith']('搜索'),
                    className('EditText')['visibleToUser'](!![]),
                    className('EditText')['clickable'](!![]),
                    className('EditText')
                ], _0xe2cafc = [
                    className('TextView')['textEndsWith']('查找手机/QQ号'),
                    className('TextView')['textContains']('搜索')['visibleToUser'](!![])
                ];
            let _0x37fcaf = -0x1;
            var _0x2c3477 = 0x0;
            while (_0x2c3477 < _0x53e121 && _0x37fcaf < 0x0) {
                _0x2c3477 > 0x0 && _0x13a56b['randomWait'](_0x4703aa, _0x3b149b);
                let _0x517648 = _0x4cbc90['shift']();
                _0x2c3477++, _0x517648 = (_0x517648 || '')['toString']()['trim']();
                if (_0x517648 === '') {
                    console['log']('[wechat|L5287]', '此行为空');
                    continue;
                }
                let _0x411750 = _0x517648['split'](',');
                if (_0x411750['length'] < 0x3)
                    for (let _0x309628 = 0x1; _0x309628 < 0x3; _0x309628++) {
                        _0x411750[_0x309628] = typeof _0x411750[_0x309628] !== 'undefined' ? _0x411750[_0x309628] : '';
                    }
                _0x517648 = _0x411750['join'](',');
                let _0x5a5f83 = _0x411750[0x0], _0x12e56e = _0x411750[0x1] + _0x411750[0x2];
                if (_0x5a5f83 === '') {
                    console['log']('[wechat|L5300]', '待搜索“手机号/QQ号/微信号”为空');
                    continue;
                }
                _0x12e56e === '' && (_0x12e56e = _0xbfeaaa['getFullName'](), console['log']('[wechat|L5305]', '随机姓名:' + _0x12e56e));
                console['log']('[wechat|L5307]', '当前搜索:' + _0x517648);
                if (!_0x13a56b['inputSimple'](_0x5a5f83)) {
                    let _0x5d9c78 = this['getUiObj'](_0x3eb222);
                    if (!_0x5d9c78) {
                        _0x13a56b['toastWarn']('【错误】没找到\x20输入框'), _0x4cbc90['push'](_0x517648);
                        continue;
                    } else {
                        if (!_0x13a56b['input'](_0x5d9c78, _0x5a5f83)) {
                            _0x13a56b['toastWarn']('【错误】输入失败~'), _0x4cbc90['push'](_0x517648);
                            continue;
                        }
                    }
                }
                _0x13a56b['randomWait'](0x5dc, 0x640);
                let _0xa427d1 = _0x113844['getUiObj']([className('TextView')['textEndsWith'](_0x5a5f83)]['concat'](_0xe2cafc));
                if (!_0xa427d1) {
                    _0x13a56b['toastWarn']('没找到\x20“查找”/“搜索”\x20按钮~'), _0x4cbc90['push'](_0x517648);
                    continue;
                } else
                    console['log']('[wechat|L5330]', 'searchBox', _0xa427d1['text']());
                _0x13a56b['superclick'](_0xa427d1), _0x13a56b['randomWait'](0x384, 0x44c);
                let _0x2e35b6 = _0x113844['waitForActivity']('ContactInfoUI', 0x1) || _0x113844['getUiObj']([
                    text('设置备注和标签'),
                    text('添加到通讯录'),
                    text('来自手机号搜索')
                ], 'findOne', 0x2);
                if (!_0x2e35b6) {
                    if (this['处理弹窗']('确定')) {
                        toastLog('用户不存在');
                        let _0x382427 = _0x517648 + ',搜无此人';
                        _0x27f8b9['push'](_0x382427), this['addRecords']([_0x382427], '', 'a', '搜索添加');
                    } else {
                        let _0x5d6966 = className('TextView')['depth'](0x2)['findOne'](0x12c);
                        if (_0x5d6966) {
                            let _0x4f87ab = String(_0x5d6966['text']());
                            toast('当前搜索:' + _0x5a5f83 + '\x0a\x20搜索结果:' + _0x4f87ab), console['log']('[wechat|L5348]', '当前搜索:' + _0x5a5f83 + '\x0a\x20搜索结果:' + _0x4f87ab);
                            if (_0x4f87ab['indexOf']('操作过于频繁') > -0x1) {
                                _0x4cbc90['push'](_0x517648), _0x13a56b['toastError']('微信已提示“操作过于频繁”,为保证账号安全,正在退出此轮执行');
                                break;
                            } else {
                                let _0x3074e0 = _0x517648 + ',搜无此人';
                                _0x27f8b9['push'](_0x3074e0), this['addRecords']([_0x3074e0], '', 'a', '搜索添加');
                            }
                        }
                    }
                } else {
                    console['verbose']('已进入详细资料');
                    const _0x295bb6 = this['isAddable'](_0x12e56e, _0x3b801c);
                    if (_0x295bb6) {
                        this['scroll']();
                        if (text('添加到通讯录')['exists']()) {
                            let _0x2730c9 = text('添加到通讯录')['findOne'](0x12c), _0x2e5948 = this['getPerson'](_0x5a5f83, _0x12e56e), _0x365833 = _0x3ffe1a(_0x2730c9, _0x2e5948);
                            if (_0x365833 === -0x1)
                                _0x37fcaf = 0x0;
                            else
                                _0x365833 === 0x1 && (_0x37fcaf = -0x1);
                            let _0x444d41 = _0x517648 + ',等待验证';
                            _0x27f8b9['push'](_0x444d41), this['addRecords']([_0x444d41], '', 'a', '搜索添加');
                        } else {
                            if (text('发消息')['exists']()) {
                                let _0x4907e9 = _0x517648 + ',已是好友';
                                this['addRecords']([_0x4907e9], '', 'a', '搜索添加'), toastLog('已经是好友不必添加'), _0x13a56b['randomWait'](0x384, 0x44c);
                            }
                        }
                    } else {
                        let _0x4db8ed = _0x517648 + ',已搜索备注';
                        _0x27f8b9['push'](_0x4db8ed), this['addRecords']([_0x4db8ed], '', 'a', '搜索添加');
                    }
                    _0x113844['waitForActivity']('ContactInfoUI', 0x2), this['返回'](0x1), _0x13a56b['randomWait'](0x384, 0x44c);
                }
                let _0x5cff5b = this['getUiObj'](className('ImageButton')['desc']('清除')['visibleToUser'](!![]));
                if (_0x5cff5b)
                    _0x13a56b['superclick'](_0x5cff5b);
                else {
                    const _0x4142af = className('EditText')['exists']();
                    if (!_0x4142af) {
                        if (!this['intoSearchFriendNew']() && !this['intoHomeSearch']()) {
                            console['warn']('[wechat|L5423]', '重入此页面失败');
                            break;
                        }
                    }
                }
            }
            _0x37fcaf >= 0x0 && _0xd3260b(_0x37fcaf);
            this['返回'](0x1);
            let _0x27317f = _0x4cbc90['concat'](_0x297764['split']('|||'));
            console['log']('[wechat|L5453]', '当前轮次添加完毕.\x0a待添加好友数' + _0x27317f['length']), _0x113844['addRecord'](_0x1e9f83, _0x27317f, 'w');
        }, _0x113844['fillPerson'] = function (_0x20ef25) {
            let _0x1c9354 = [
                    '昵称:',
                    '地区:',
                    '微信号:'
                ]['map'](function (_0x3badb4) {
                    return className('TextView')['textStartsWith'](_0x3badb4);
                }), _0x11fd7a = [
                    'nickname',
                    'area',
                    'wechatName'
                ];
            for (let _0x4e9820 = 0x0; _0x4e9820 < _0x11fd7a['length']; _0x4e9820++) {
                let _0x182545 = _0x11fd7a[_0x4e9820];
                if (!_0x20ef25[_0x182545]) {
                    let _0x22c807 = _0x113844['getUiObjSingle'](_0x1c9354[_0x4e9820])['UiO'], _0x1b43e1 = '';
                    try {
                        _0x1b43e1 = !_0x22c807 ? '' : (_0x22c807['text']() + '')['split'](':')[0x1]['trim']();
                    } catch (_0x3cd205) {
                        console['log']('[wechat|L5471]', 'fillPerson:' + JSON['stringify'](_0x3cd205)), _0x113844['启动'](!![]);
                    }
                    _0x20ef25[_0x182545] = _0x1b43e1;
                }
            }
            if (!_0x20ef25['wechatName']) {
                let _0x32a397 = _0x113844['getUiObjSingle'](className('TextView')['text']('对方已注销微信账号'))['flag'];
                if (_0x32a397)
                    return console['error']('[wechat|L5480]', '好友：' + _0x20ef25['name'] + '已注销'), null;
            }
            !_0x20ef25['nickname'] && (_0x20ef25['nickname'] = _0x20ef25['name']);
            const _0x51b019 = function (_0x24014d, _0x486122) {
                let _0x4dc11d = _0x24014d['parent']()['children']()['filter'](function (w) {
                    let _0x15ae08 = w['text'](), _0x4c5234 = w['className']();
                    return _0x4c5234['indexOf']('TextView') > -0x1 && _0x15ae08['length'] > 0x0 && _0x15ae08 !== _0x486122;
                });
                return _0x4dc11d;
            };
            let _0x5a19ab = [
                [
                    '标签',
                    'label'
                ],
                [
                    '描述',
                    'note'
                ]
            ];
            for (let _0x297bee = 0x0; _0x297bee < _0x5a19ab['length']; _0x297bee++) {
                let _0x4bbfb9 = _0x5a19ab[_0x297bee][0x0], _0x548f4b = _0x5a19ab[_0x297bee][0x1], _0x1121b6 = this['getUiObj'](className('TextView')['text'](_0x4bbfb9));
                if (_0x1121b6) {
                    let _0xa7e004 = _0x51b019(_0x1121b6, _0x4bbfb9);
                    _0xa7e004['length'] > 0x0 && (_0x20ef25[_0x548f4b] = _0xa7e004[0x0]['text']());
                }
                !_0x20ef25[_0x548f4b] && (_0x20ef25[_0x548f4b] = '');
            }
            _0x20ef25['phone'] = '';
            try {
                let _0x48c741 = this['getUiObjSingle'](className('TextView')['textMatches'](/^1(3|4|5|6|7|8|9)\d{9}/))['UiO'];
                if (_0x48c741) {
                    let _0x486e4f = (_0x48c741['text']() + '')['match'](/^1(3|4|5|6|7|8|9)\d{9}/);
                    console['info']('[wechat|L5528]', '找到手机号啦,', _0x486e4f[0x0]), _0x20ef25['phone'] = _0x486e4f[0x0];
                }
            } catch (_0x4049f0) {
                console['log']('[wechat|L5532]', JSON['stringify'](_0x4049f0)), _0x113844['启动'](!![]);
            }
            return _0x20ef25;
        }, _0x113844['getPerson'] = function (_0x552306, _0xd65d0f) {
            let _0x5837b0 = {
                'name': _0xd65d0f || '',
                'phone': _0x552306 || ''
            };
            return this['fillPerson'](_0x5837b0);
        }, _0x113844['处理弹窗'] = function (_0x574671) {
            let _0x3b5c56 = [];
            typeof _0x574671 === 'string' && (_0x3b5c56 = [_0x574671]);
            _0x3b5c56 = _0x3b5c56['map'](function (_0x58f377) {
                return text(_0x58f377);
            });
            let _0x2dd9a6 = 0x3, _0x4411bb = ![], _0x29e119 = null;
            while (_0x2dd9a6 > 0x0) {
                _0x29e119 = this['getUiObj'](_0x3b5c56);
                if (_0x29e119 && _0x13a56b['superclick'](_0x29e119)) {
                    _0x13a56b['randomWait'](0x384, 0x44c), _0x4411bb = !![];
                    break;
                }
                _0x2dd9a6--;
            }
            return _0x4411bb;
        }, _0x113844['sendMsg'] = function (_0x301ffe) {
            let _0x21a2e4 = ![], _0x2892de = 0x3, _0x2424b5 = null;
            while (_0x2892de > 0x0) {
                _0x2424b5 = className('EditText')['findOne'](0x12c);
                if (_0x2424b5) {
                    !_0x13a56b['input'](_0x2424b5, _0x301ffe) && (_0x2424b5 = null);
                    break;
                }
                _0x13a56b['randomWait'](0x384, 0x44c), _0x2892de--;
            }
            if (!_0x2424b5)
                return console['error']('[wechat|L5615]', '无法群发消息成功\x20原因:未找到输入框或输入失败'), _0x21a2e4;
            _0x2892de = 0x3;
            while (_0x2892de > 0x0) {
                _0x2424b5 = className('Button')['text']('发送')['findOnce']();
                if (_0x2424b5) {
                    _0x13a56b['superclick'](_0x2424b5);
                    break;
                }
            }
            if (!_0x2424b5)
                return console['error']('[wechat|L5627]', '无法群发消息成功\x20原因:未找到\x22发送\x22'), _0x21a2e4;
            return !![];
        }, _0x113844['createRandomContent'] = function (_0x7993b2, _0x4e3bbc, _0x50de06, _0x30e3a1) {
            return _0x14a304 = _0x14a304 || _0xc280bc(0xa), _0x14a304['createRandomContent'](_0x7993b2, _0x4e3bbc, _0x50de06, _0x30e3a1);
        }, _0x113844['transformData2Obj'] = function (_0x3fd7f8) {
            var _0x3a0f49 = {
                    'remark': '',
                    'describe': ''
                }, _0x37b749 = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;
            if (typeof _0x3fd7f8 === 'string')
                _0x3fd7f8 = _0x3fd7f8['trim'](), _0x37b749['test'](_0x3fd7f8) ? _0x3a0f49['describe'] = _0x3fd7f8 : _0x3a0f49['remark'] = _0x3fd7f8;
            else {
                if (Array['isArray'](_0x3fd7f8)) {
                    var _0xeb2263;
                    for (let _0x5ac8d5 = 0x0; _0x5ac8d5 < _0x3fd7f8['length']; _0x5ac8d5++) {
                        _0xeb2263 = _0x3fd7f8[_0x5ac8d5], _0x37b749['test'](_0xeb2263) ? _0x3a0f49['describe'] = _0xeb2263 : _0x3a0f49['remark'] += _0xeb2263;
                    }
                }
            }
            return _0x3a0f49;
        }, _0x113844['addRecords'] = function (_0x9b8527, _0x22d8fd, _0x3d8065, _0x2132a5) {
            _0x22d8fd = typeof _0x22d8fd !== 'undefined' ? _0x22d8fd : '添加记录', _0x3d8065 = _0x3d8065 ? _0x3d8065 : 'a', _0x2132a5 = _0x2132a5 ? _0x2132a5 : '添加记录';
            let _0x15dd86;
            if (_0x22d8fd) {
                let _0x430963 = [];
                for (let _0x5016dc = 0x0; _0x5016dc < _0x9b8527['length']; _0x5016dc++) {
                    _0x15dd86 = _0x9b8527[_0x5016dc] + ',' + _0x22d8fd, console['verbose']('写入行:' + _0x15dd86), _0x430963['push'](_0x15dd86);
                }
                _0x9b8527 = _0x430963;
            }
            if (_0x9b8527['length'] && _0x9b8527['length'] > 0x0) {
                let _0x4e46c0 = this['Grobal']['savePath'] + _0x2132a5 + '.csv', _0x5191a6 = ![];
                if (!files['exists'](_0x4e46c0) || !files['isFile'](_0x4e46c0)) {
                    let _0x32b2be = files['getSdcardPath']() + '/Download/' + _0x2132a5 + '.csv';
                    files['exists'](_0x32b2be) && files['isFile'](_0x32b2be) ? !files['copy'](_0x32b2be, _0x4e46c0) ? console['warn']('[wechat|L5694]', '尝试复制文件失败') : _0x5191a6 = !![] : (files['create'](_0x4e46c0), console['warn']('[wechat|L5700]', '文件' + _0x32b2be + '也不存在,已新建'));
                } else
                    _0x5191a6 = !![];
                let _0x1e0f7d;
                _0x5191a6 ? (console['info']('[wechat|L5707]', '文件' + _0x4e46c0 + '存在~writeType:' + _0x3d8065), _0x1e0f7d = open(_0x4e46c0, _0x3d8065, 'gbk')) : (console['info']('[wechat|L5710]', '文件' + _0x4e46c0 + '不存在~writeType:w'), _0x1e0f7d = open(_0x4e46c0, 'w', 'gbk'));
                for (let _0x49ce8e = 0x0; _0x49ce8e < _0x9b8527['length']; _0x49ce8e++) {
                    _0x1e0f7d['writeline'](_0x9b8527[_0x49ce8e]);
                }
                _0x1e0f7d['close']();
            }
        }, _0x113844['getRecords'] = function (_0x8c0881, _0x296f2e) {
            _0x8c0881 = _0x8c0881 ? _0x8c0881 : '';
            !_0x296f2e && (_0x296f2e = _0x8c0881 == '搜索添加' ? '搜索添加' : '添加记录');
            let _0x3e96a4 = this['Grobal']['savePath'] + _0x296f2e + '.csv', _0x12077c = [];
            if (!files['exists'](_0x3e96a4) || !files['isFile'](_0x3e96a4)) {
                let _0x58bd15 = files['getSdcardPath']() + '/Download/' + _0x296f2e + '.csv';
                if (files['exists'](_0x58bd15) && files['isFile'](_0x58bd15)) {
                    if (!files['copy'](_0x58bd15, _0x3e96a4))
                        return console['warn']('[wechat|L5734]', '尝试复制文件失败,返回空数组'), _0x12077c;
                } else
                    return console['verbose']('文件' + _0x296f2e + '文件不存在直接返回空数组'), files['create'](_0x3e96a4), _0x12077c;
            }
            let _0x1ea975 = open(_0x3e96a4, 'r', 'gbk'), _0x30df2e = [], _0x5f200a;
            do {
                _0x5f200a = _0x1ea975['readline'](), !_0x5f200a ? _0x1ea975['close']() : _0x30df2e['push'](_0x5f200a);
            } while (_0x5f200a);
            _0x30df2e = _0x5b9539(_0x30df2e);
            for (let _0x563a49 = 0x0; _0x563a49 < _0x30df2e['length']; _0x563a49++) {
                let _0x5047e4 = _0x30df2e[_0x563a49]['split'](','), _0x32cc9a = _0x5047e4[0x0];
                if (_0x8c0881 === '' || _0x5047e4['length'] == 0x1 || _0x8c0881 === '搜索添加') {
                    _0x12077c['push'](_0x32cc9a);
                    continue;
                }
                let _0x375527 = _0x5047e4['slice'](-0x1);
                _0x375527['indexOf'](_0x8c0881) > -0x1 && _0x12077c['push'](_0x32cc9a);
            }
            return console['info']('[wechat|L5769]', '类型:' + _0x8c0881 + '\x0a已添加记录:' + _0x12077c['join'](',')), _0x12077c;
        }, _0x113844['filterRecords'] = function (_0x4965f0, _0xbb1aa1) {
            _0xbb1aa1 = _0xbb1aa1 ? _0xbb1aa1 : '';
            let _0x9f3284 = _0x4965f0['length'], _0x2cfc03 = this['getRecords'](_0xbb1aa1);
            return _0x4965f0 = _0x2b5da2(_0x4965f0, _0x2cfc03), console['log']('[wechat|L5777]', '待添加:' + _0x9f3284 + '\x0a已添加:' + _0x2cfc03['length'] + '\x0a可添加记录:' + _0x4965f0['length']), _0x4965f0;
        }, _0x113844['getBtnOrTxt'] = function (_0x8f3913) {
            const _0x20f64c = [
                    className('Button')['text'](_0x8f3913),
                    className('TextView')['text'](_0x8f3913),
                    text(_0x8f3913),
                    desc(_0x8f3913)
                ], _0x408e2f = this['getUiObj'](_0x20f64c);
            return _0x408e2f;
        }, _0x113844['intoHomeSearch'] = function () {
            let _0x1f005b = ![];
            this['返回主界面']();
            var _0x1555d7 = this['getUiObj']([
                desc('搜索'),
                text('搜索')
            ]);
            if (!_0x1555d7)
                try {
                    let _0x29a712 = this['getUiObj'](className('android.view.ViewGroup'));
                    if (_0x29a712) {
                        let _0x34afc5 = _0x29a712['children']()['filter'](function (w) {
                            return String(w['className']())['indexOf']('RelativeLayout') > -0x1 && String(w['desc']())['indexOf']('更多') == -0x1;
                        });
                        _0x34afc5['length'] > 0x0 && (_0x1555d7 = _0x34afc5[0x0]);
                    }
                    console['info']('[wechat|L5831]', '6.7.3,\x20found!');
                } catch (_0xcd4068) {
                    console['log']('[wechat|L5833]', '6.7.3:\x20' + JSON['stringify'](_0xcd4068)), _0x113844['启动'](!![]), _0x1555d7 = null;
                }
            if (!_0x1555d7)
                return console['verbose']('找不到\x20搜索按钮'), _0x1f005b;
            return _0x13a56b['superclick'](_0x1555d7), _0x13a56b['randomWait'](0x76c, 0x834), !className('EditText')['exists']() ? console['verbose']('没找到\x20搜索') : _0x1f005b = !![], _0x1f005b;
        }, _0x113844['scroll'] = function () {
            let _0x171303 = ![], _0x51eea1 = null;
            _0x51eea1 = this['getUiObj'](className('androidx.recyclerview.widget.RecyclerView')['scrollable'](!![]));
            if (_0x51eea1) {
                console['verbose']('找到\x20RecyclerView');
                if (_0x51eea1['scrollDown'] && _0x51eea1['scrollDown']())
                    console['verbose']('RecyclerView\x20scrollDown\x20成功'), _0x171303 = !![];
                else {
                    let {
                            top: _0x4ab82e,
                            bottom: _0x5c6c39
                        } = _0x51eea1['bounds'](), _0x53170a = _0x5c6c39 - _0x4ab82e;
                    _0x13a56b['scroll'](_0x53170a) && (_0x171303 = !![], console['verbose']('scroll\x20distance:' + _0x53170a + '\x20成功'));
                }
            } else
                console['log']('[wechat|L5877]', '未找到\x20RecyclerView');
            if (!_0x171303) {
                let _0x4e0eb9 = className('ListView')['scrollable'](!![])['find']();
                console['log']('[wechat|L5882]', 'tempList.length:', _0x4e0eb9['length']), _0x4e0eb9 = _0x4e0eb9['filter'](function (_0x2a6177) {
                    let _0x5900dd = ![];
                    try {
                        let {
                            right: _0x56482b,
                            left: _0x779eaf
                        } = _0x2a6177['bounds']();
                        _0x5900dd = _0x56482b - _0x779eaf === device['width'];
                    } catch (_0xa339c7) {
                        console['error']('[wechat|L5889|C\x20->\x20tempList]', _0xa339c7);
                    }
                    return _0x5900dd;
                });
                if (_0x4e0eb9['length'])
                    try {
                        _0x171303 = _0x4e0eb9['find'](_0x40117a => {
                            _0x171303 = _0x40117a['scrollDown'] && _0x40117a['scrollDown']();
                        }), _0x171303 == undefined && (_0x171303 = ![]);
                    } catch (_0x114bc8) {
                        console['error']('[wechat|L5902]', 'className(\x22ListView\x22).scrollable(true)', _0x114bc8);
                    }
                else
                    console['log']('[wechat|L5905]', '未找到\x20ListView');
                console['verbose']('className(\x27ListView\x27).scrollable(true)' + _0x171303);
            }
            return _0x171303 && _0x13a56b['randomWait'](0x384, 0x44c), _0x171303;
        }, _0x113844['scrollUp'] = function () {
            try {
                let _0xcca80f = className('ListView')['find']();
                _0xcca80f ? (_0xcca80f['scrollUp'](), _0x13a56b['randomWait'](0x6a4, 0x76c)) : console['warn']('[wechat|L5921]', 'Can\x20Not\x20Find\x20ListView~');
            } catch (_0x4ce7a3) {
                console['log']('[wechat|L5924]', 'wechat.scrollUp:' + JSON['stringify'](_0x4ce7a3)), _0x113844['启动'](!![]);
            }
        }, _0x113844['intoPageBySearch'] = function (_0xe6c9eb) {
            let _0x229dc7 = ![];
            if (typeof _0xe6c9eb !== 'string')
                return console['error']('[wechat|L5936]', '进入页面参数不合法~', _0xe6c9eb), _0x229dc7;
            if (!this['intoHomeSearch']())
                return _0x229dc7;
            let _0x4f5b9a = this['getUiObjByList']([className('EditText')['textContains']('搜索')]);
            if (!_0x4f5b9a && !_0x13a56b['inputSimple'](_0xe6c9eb))
                return console['verbose']('没找到\x20搜索'), _0x229dc7;
            if (!_0x13a56b['input'](_0x4f5b9a, _0xe6c9eb))
                return _0x229dc7;
            _0x13a56b['randomWait'](0x384, 0x44c);
            let _0x307448 = [
                idContains('gbv')['text'](_0xe6c9eb),
                className('TextView')['text'](_0xe6c9eb),
                textStartsWith('搜一搜')
            ];
            return _0xe6c9eb['length'] > 0xa && (_0xe6c9eb = _0xe6c9eb['substring'](0x0, 0x9), _0x307448 = [
                idContains('gbv')['textStartsWith'](_0xe6c9eb),
                className('TextView')['textStartsWith'](_0xe6c9eb),
                textStartsWith('搜一搜')
            ]), _0x4f5b9a = this['getUiObj'](_0x307448), _0x4f5b9a && _0x13a56b['superclick'](_0x4f5b9a) ? _0x229dc7 = this['waitForPage'](_0xe6c9eb, 0x2) : console['error']('[wechat|L5986]', '找不到' + _0xe6c9eb), _0x229dc7;
        }, _0x113844['群聊获取基础信息'] = function () {
            let _0x1ff448 = {
                    'name': '',
                    'num': 0x0
                }, _0x4498a7 = this['getPageName'](), _0x46a00d = _0x4498a7['split']('(');
            if (_0x46a00d['length'] > 0x1) {
                let _0x2d72b0 = _0x46a00d['pop'](), _0x41133c = new RegExp('[0-9]+', 'g'), _0x369943 = _0x2d72b0['match'](_0x41133c);
                _0x369943 && _0x369943['length'] > 0x0 && (_0x1ff448['num'] = parseInt(_0x369943['pop']()));
            }
            return _0x1ff448['name'] = _0x46a00d['join']('('), console['log']('[wechat|L6007]', '群聊基础信息:', _0x1ff448), _0x1ff448;
        }, _0x113844['getPageName'] = function () {
            let _0x28eaa5 = '', _0xa30371 = null;
            try {
                _0xa30371 = this['getUiObj']([
                    idContains('text1'),
                    idContains('ipt'),
                    idContains('obn')
                ]);
            } catch (_0x49859c) {
                console['log']('[wechat|L6026]', JSON['stringify'](_0x49859c)), _0x113844['启动'](!![]), _0xa30371 = null;
            }
            !_0xa30371 && console['log']('[wechat|L6031]', 'id找不到!');
            if (_0xa30371)
                _0x28eaa5 = _0xa30371['text']() + '', console['log']('[wechat|L6035]', '找到当前页面标题了1:' + _0x28eaa5);
            else {
                _0xa30371 = this['getReturnBtn']();
                !_0xa30371 && console['log']('[wechat|L6047]', '返回找不到!');
                if (_0xa30371) {
                    let _0x3da253 = _0xa30371['bounds'](), _0x1aafaa = className('TextView')['boundsInside'](_0x3da253['right'], _0x3da253['top'], device['width'], _0x3da253['bottom']), _0x5e5d0c = _0x1aafaa['find']();
                    if (_0x5e5d0c && _0x5e5d0c['length'] > 0x0) {
                        _0x5e5d0c = _0x5e5d0c['filter'](function (_0x4e139c) {
                            if (!_0x4e139c || !_0x4e139c['className'])
                                return ![];
                            return _0xa30371['text']()['trim']()['length'] > 0x0;
                        });
                        if (_0x5e5d0c['length'] === 0x1)
                            _0x28eaa5 = _0x5e5d0c[0x0]['text']()['trim'](), console['log']('[wechat|L6062]', '找到当前页面标题了2:' + _0x28eaa5);
                        else {
                            if (_0x5e5d0c['length'] > 0x1) {
                                let _0x2c9897 = device['width'] / 0x2, _0x11f5e3 = _0x5e5d0c[0x0], _0x14abbe = Math['abs'](_0x2c9897 - _0x11f5e3['bounds']()['centerX']() * 0x1);
                                for (let _0x43efe5 = 0x1; _0x43efe5 < _0x5e5d0c['length']; _0x43efe5++) {
                                    let _0x279671 = _0x5e5d0c[_0x43efe5], _0x451c1c = _0x279671['bounds']()['centerX']() * 0x1;
                                    Math['abs'](_0x2c9897 - _0x451c1c) < Math['abs'](_0x2c9897 - _0x14abbe) && (_0x14abbe = Math['abs'](_0x2c9897 - _0x451c1c), _0x11f5e3 = _0x279671);
                                }
                                _0x28eaa5 = _0x11f5e3['text']()['trim'](), console['log']('[wechat|L6077]', '找到当前页面标题了3:' + _0x28eaa5);
                            }
                        }
                    }
                }
            }
            return _0x28eaa5 + '';
        }, _0x113844['waitForPage'] = function (_0x2e46e2, _0x4fd8b6) {
            let _0x53ed2c = ![];
            _0x4fd8b6 = _0x4fd8b6 ? _0x4fd8b6 : 0x3;
            let _0x4e1104 = '';
            while (_0x4fd8b6 > 0x0) {
                _0x4e1104 = this['getPageName']();
                if (_0x4e1104 == _0x2e46e2 || _0x4e1104['indexOf'](_0x2e46e2) == 0x0) {
                    _0x53ed2c = !![];
                    break;
                }
                _0x4fd8b6 -= 0x1, _0x13a56b['randomWait'](0x384, 0x44c);
            }
            return !_0x53ed2c && console['error']('[wechat|L6106]', '不匹配!\x20当前页面:' + _0x4e1104 + ',目标页面:' + _0x2e46e2), _0x53ed2c;
        }, _0x113844['push'] = function (_0x589801, _0x407549) {
            _0x589801 && _0x589801['phone'] && (_0x407549 === '通过' && (_0xabc231 = _0xabc231 || _0xc280bc(0x13), _0xabc231['data']['push'](_0x589801, _0x407549)));
        }, _0x113844['chargeWXVersion'] = function (_0x162ccc) {
            let _0x5b72fe = ![];
            _0x162ccc = _0x162ccc ? _0x162ccc : '7.0.10';
            let _0xf4a665 = _0x162ccc['split']('|');
            var _0xec99e5 = _0x3cbe27;
            let _0x410707 = '正在打开' + _0xec99e5 + '应用的详情页,';
            app['openAppSetting'](_0xec99e5), toastLog(_0x410707);
            var _0x34334d = 0x0, _0x489219 = ![], _0x44d9ab;
            while (_0x34334d < 0x4) {
                _0x34334d++, _0x44d9ab = className('TextView')['textContains']('版本')['findOnce']();
                if (!_0x44d9ab)
                    _0x13a56b['randomWait'](0x514, 0x6a4);
                else {
                    _0x489219 = !![], console['log']('[wechat|L6147]', '找到\x20版本信息');
                    break;
                }
                _0x13a56b['randomWait'](0x384, 0x44c);
            }
            if (!_0x489219)
                return toastLog('【标志】无法获取版本号'), _0x489219;
            var _0x38ff05 = (_0x44d9ab['text']() || '')['toString']()['replace']('版本号', '')['replace']('版本', '')['replace'](':', '')['replace']('：', '')['trim']();
            for (let _0xb8a848 = 0x0; _0xb8a848 < _0xf4a665['length']; _0xb8a848++) {
                let _0x1ea3d4 = _0xf4a665[_0xb8a848];
                if (_0x38ff05['indexOf'](_0x1ea3d4) !== -0x1) {
                    _0x5b72fe = !![];
                    break;
                }
            }
            _0x38ff05 && _0x15f3a2['put']('WXVersion', _0x38ff05);
            let _0x5f0f74 = _0x5b72fe ? '匹配,可正常使用!' : '不匹配,可能无法正常使用!';
            return _0x410707 = '目标版本' + _0x162ccc + ',当前微信版本:' + _0x38ff05 + '.' + _0x5f0f74, _0x5b72fe ? _0x13a56b['toastInfo'](_0x410707) : _0x13a56b['toastError'](_0x410707), _0x5b72fe;
        }, _0x113844['fillDefaultFiles'] = function (_0x2cba80, _0x2aaa57, _0x3b547f) {
            let _0x30f791 = !![];
            _0x2aaa57 = _0x2aaa57 ? _0x2aaa57 : this['Grobal']['savePath'];
            if (!_0x2aaa57)
                return console['log']('[wechat|L6177]', '当前路径无效'), ![];
            !files['isDir'](_0x2aaa57) && files['ensureDir'](_0x2aaa57);
            var _0x363b83;
            _0x3b547f = _0x3b547f ? _0x3b547f : '';
            for (let _0x334ab2 = 0x0; _0x334ab2 < _0x2cba80['length']; _0x334ab2++) {
                let _0x495c82 = _0x2cba80[_0x334ab2];
                console['log']('[wechat|L6188]', '文件名：' + _0x495c82);
                if (_0x495c82 !== '表情包.txt' && _0x495c82 !== '引流.txt' && _0x495c82 !== '手机号.csv')
                    continue;
                _0x363b83 = _0x495c82;
                var _0x19da8b = _0x2aaa57 + _0x363b83, _0x460fb2 = files['path'](_0x3b547f + _0x363b83);
                console['log']('[wechat|L6199]', '目标文件:' + _0x19da8b);
                if (files['exists'](_0x19da8b) && files['isFile'](_0x19da8b))
                    console['log']('[wechat|L6201]', _0x495c82 + '文件已存在');
                else {
                    console['log']('[wechat|L6203]', '模板文件:' + _0x460fb2);
                    if (files['exists'](_0x460fb2) && files['isFile'](_0x460fb2)) {
                        console['log']('[wechat|L6205]', _0x495c82 + '文件存在');
                        if (files['copy'](_0x460fb2, _0x19da8b))
                            console['log']('[wechat|L6207]', _0x19da8b + '复制成功');
                        else {
                            console['log']('[wechat|L6209]', '[错误]' + _0x19da8b + '复制失败,请检查是否给予存储权限'), _0x30f791 = ![];
                            break;
                        }
                    } else {
                        console['log']('[wechat|L6214]', '[错误]默认文件' + _0x460fb2 + '文件不存在'), _0x30f791 = ![];
                        break;
                    }
                }
            }
            return _0x30f791;
        }, _0x113844['checkFile'] = function (_0x5ab01b, _0x59ca30, _0x138e57) {
            let _0x1ab91c = ![];
            var _0x320e3b, _0x18624a;
            _0x5ab01b !== '表情包.txt' && _0x5ab01b !== '引流.txt' ? (_0x320e3b = '手机号.csv', _0x18624a = _0x5ab01b) : (_0x320e3b = _0x5ab01b, _0x18624a = _0x5ab01b);
            _0x138e57 = _0x138e57 ? _0x138e57 : this['Grobal']['savePath'];
            !files['isDir'](_0x138e57) && files['ensureDir'](_0x138e57);
            _0x138e57 = _0x138e57 + _0x18624a;
            var _0x44c543 = files['path'](_0x59ca30 + _0x320e3b);
            return console['log']('[wechat|L6243]', '目标文件:' + _0x138e57), files['exists'](_0x138e57) && files['isFile'](_0x138e57) ? (console['log']('[wechat|L6245]', _0x5ab01b + '文件已存在'), _0x1ab91c = !![]) : (console['log']('[wechat|L6248]', '模板文件:' + _0x44c543), files['exists'](_0x44c543) && files['isFile'](_0x44c543) ? (console['log']('[wechat|L6250]', _0x5ab01b + '文件存在'), files['copy'](_0x44c543, _0x138e57) ? (console['log']('[wechat|L6252]', '复制成功'), _0x1ab91c = !![]) : console['log']('[wechat|L6255]', '复制失败')) : console['log']('[wechat|L6258]', _0x5ab01b + '文件不存在')), _0x1ab91c;
        }, _0x113844['返回'] = function (_0x3c0b2d) {
            _0x3c0b2d = isNaN(_0x3c0b2d) ? _0x3c0b2d : 0x1;
            let _0x1466c2 = ![];
            var _0x135d12 = 0x0, _0x41db0c = _0x3c0b2d;
            while (_0x41db0c > 0x0) {
                let _0x3dbb68 = _0x113844['getReturnBtn']();
                _0x41db0c -= 0x1;
                if (!_0x3dbb68)
                    back() && (console['log']('[wechat|L6299]', '找不到返回,但back()'), _0x135d12 += 0x1);
                else {
                    if (_0x13a56b['superclick'](_0x3dbb68))
                        _0x135d12 += 0x1, console['log']('[wechat|L6307]', '找到返回并点击成功');
                    else {
                        if (back())
                            _0x135d12 += 0x1, console['log']('[wechat|L6310]', '找到返回,但back()');
                        else {
                            console['log']('[wechat|L6312]', '找到不返回且back()失效');
                            break;
                        }
                    }
                }
            }
            return _0x1466c2 = _0x135d12 == _0x3c0b2d, _0x1466c2;
        }, _0x113844['return2Find'] = function (_0x590701) {
            if (_0x590701 === undefined)
                _0x590701 = '微信';
            let _0x184d7d = ![], _0x514782 = [
                    '微信',
                    '通讯录',
                    '发现',
                    '我'
                ], _0x31a91c = '微信';
            _0x514782['includes'](_0x590701) && (_0x31a91c = _0x590701);
            let _0x2b73a5 = this['getUiObj']([
                idEndsWith('huj'),
                boundsInside(0x0, device['height'] - 0x190, device['width'], device['height'])['className']('TextView')['text'](_0x590701)
            ], 'findOne', 0x2);
            if (_0x2b73a5)
                return _0x184d7d = _0x514782['includes'](_0x590701), console['info']('[wechat|L6339]', '已经在Tab页面!'), _0x13a56b['superclick'](_0x2b73a5) && (_0x184d7d = !![]), _0x184d7d;
            let _0x419074 = [];
            _0x590701 && (_0x419074 = [_0x590701]);
            let _0x566c87 = 0x5;
            while (_0x566c87 > 0x0) {
                let _0x400bdb = this['getPageName']();
                if (_0x400bdb) {
                    let _0x4ee69c = _0x400bdb['split']('(');
                    _0x4ee69c['length'] > 0x1 && (_0x4ee69c['pop'](), _0x400bdb = _0x4ee69c['join']('('));
                    if (_0x419074['includes'](_0x400bdb)) {
                        _0x184d7d = !![];
                        break;
                    }
                    if (_0x514782['includes'](_0x400bdb)) {
                        _0x184d7d = ![];
                        break;
                    }
                }
                this['返回'](0x1);
                let _0x46319c = this['getUiObj']([
                    idEndsWith('huj'),
                    boundsInside(0x0, device['height'] - 0x190, device['width'], device['height'])['className']('TextView')['text'](_0x31a91c)
                ], 'findOne', 0x1);
                if (_0x46319c) {
                    _0x184d7d = _0x514782['includes'](_0x590701), console['info']('[wechat|L6380]', '已经在Tab页面2!');
                    _0x13a56b['superclick'](_0x46319c) && (_0x184d7d = !![]);
                    break;
                }
                _0x566c87 -= 0x1;
            }
            return _0x184d7d;
        }, _0x113844['返回主界面'] = function () {
            let _0x4a1868 = this['return2Find']('微信');
            return _0x4a1868 ? console['info']('[wechat|L6404]', '返回主界面成功') : console['error']('[wechat|L6404]', '返回主界面失败'), _0x4a1868;
        }, _0x113844['getWxId'] = function () {
            let _0x5c067f = '';
            this['返回主界面']();
            let _0xe529fd = this['getUiObj'](className('TextView')['text']('我')['boundsInside'](0x0, device['height'] / 0x5 * 0x4, device['width'], device['height']));
            if (!_0xe529fd)
                return console['error']('[wechat|L6418]', '未找到\x20我'), _0x5c067f;
            return _0x13a56b['superclick'](_0xe529fd), _0xe529fd = this['getUiObj'](className('TextView')['textStartsWith']('微信号：')), _0xe529fd && (_0x5c067f = (_0xe529fd['text']() + '')['replace']('微信号：', '')['trim']()), _0x5c067f;
        }, _0x113844['getWxData'] = function () {
            let _0x89c181 = '';
            this['返回主界面']();
            let _0x1408e9 = this['getUiObj'](className('TextView')['text']('我')['boundsInside'](0x0, device['height'] / 0x5 * 0x4, device['width'], device['height']));
            if (!_0x1408e9)
                return console['error']('[wechat|L6439]', '未找到\x20我'), _0x89c181;
            _0x13a56b['superclick'](_0x1408e9);
            let _0xdd762c = '';
            return _0x1408e9 = this['getUiObj'](className('TextView')['textStartsWith']('微信号：')), _0x1408e9 && (_0x89c181 = (_0x1408e9['text']() + '')['replace']('微信号：', '')['trim'](), _0x1408e9['parent']()['children']()['forEach'](function (_0x334cef) {
                _0x334cef['className']()['indexOf']('android.view.View') > -0x1 && _0x334cef['text']()['length'] > 0x0 && (_0xdd762c = _0x334cef['text']() + '');
            }), !_0xdd762c && (console['log']('[wechat|L6455]', '旧版昵称找不到'), _0x1408e9 = this['getUiObj'](idContains('kbb')['className']('android.view.View')), _0x1408e9 && (_0xdd762c = (_0x1408e9['text']() + '')['trim'](), console['log']('[wechat|L6459]', '新版昵称找到了', _0xdd762c)))), {
                'wxId': _0x89c181,
                'nickname': _0xdd762c
            };
        }, _0x113844['noteAndLabel'] = function (_0x5da2fa, _0x3412fe) {
            let _0x5e2d3c = ![], _0x176e64;
            var _0x2bcfc6, _0x196922, _0x49f0dc = this['transformData2Obj'](_0x5da2fa);
            _0x2bcfc6 = _0x49f0dc['remark'], _0x196922 = _0x49f0dc['describe'], _0x176e64 = className('TextView')['text']('设置备注和标签')['clickable'](!![])['findOne'](0x12c);
            !_0x176e64 && (_0x176e64 = className('TextView')['text']('设置备注和标签')['findOne'](0x12c));
            if (!_0x176e64)
                return toastLog('【判断】“' + _0x2bcfc6 + '”该客户已备注,不再重复备注'), _0x5e2d3c;
            if (!_0x13a56b['superclick'](_0x176e64))
                return _0x5e2d3c;
            _0x13a56b['randomWait'](0x76c, 0x834);
            let _0x1d5ad7 = this['getUiObj']([
                className('Button')['text']('保存'),
                idContains('text1')['textContains']('备注')
            ]);
            if (!_0x1d5ad7)
                toastLog('未进入页面:备注名或备注信息');
            else {
                if (_0x2bcfc6) {
                    var _0x27bb71 = className('EditText')['findOne'](0x12c);
                    if (!_0x27bb71)
                        console['log']('[wechat|L6517]', '【标志】找不到\x20输入框');
                    else {
                        var _0x52ba6a = className('TextView')['textContains']('对方在手机通讯录中的名字为“')['findOne'](0x12c);
                        if (_0x52ba6a) {
                            var _0xd0eec7 = (_0x52ba6a['text']() || '')['toString']()['trim']()['replace']('对方在手机通讯录中的名字为“', '')['replace']('”\x20填入', '');
                            _0xd0eec7 !== _0x2bcfc6 && (console['log']('[wechat|L6524]', '备注名与通讯录名不符:' + _0x2bcfc6 + '\x20VS\x20' + _0xd0eec7 + ',以通讯录名为准~'), _0x2bcfc6 = _0xd0eec7);
                        }
                        _0x13a56b['input'](_0x27bb71, _0x2bcfc6);
                    }
                    _0x13a56b['randomWait'](0x384, 0x44c);
                }
                if (_0x196922) {
                    _0x176e64 = className('TextView')['text']('添加更多备注信息')['findOne'](0x12c);
                    if (!_0x176e64)
                        console['log']('[wechat|L6536]', '添加更多备注信息\x20找不到');
                    else {
                        if (!_0x13a56b['superclick'](_0x176e64))
                            return _0x5e2d3c;
                        _0x13a56b['randomWait'](0x514, 0x6a4);
                        var _0x2c31aa = className('EditText')['findOne'](0x12c);
                        !_0x2c31aa ? console['log']('[wechat|L6550]', '描述\x20找不到') : _0x13a56b['input'](_0x2c31aa, _0x196922), _0x13a56b['randomWait'](0x384, 0x44c);
                    }
                }
                _0x176e64 = this['getUiObj']([
                    textContains('添加标签对联系人进行分类'),
                    textContains('添加标签')
                ]);
                if (!_0x176e64)
                    console['log']('[wechat|L6561]', '[添加标签对联系人进行分类]找不到,程序正常执行中~');
                else {
                    _0x13a56b['superclick'](_0x176e64), _0x13a56b['randomWait'](0x384, 0x44c), console['verbose']('开始进入添加标签页~');
                    let _0x519e36 = ![], _0x263a50 = 0x3;
                    while (_0x263a50) {
                        let _0x5a1837 = this['getPageName']();
                        _0x5a1837['indexOf']('标签') > -0x1 && (_0x519e36 = !![]);
                        !_0x519e36 && (_0x519e36 = _0x113844['waitForActivity']('ContactLabelUI', 0x1));
                        if (_0x519e36) {
                            console['verbose']('成功进入添加标签页~');
                            break;
                        }
                        _0x263a50--;
                    }
                    _0x519e36 && (_0x176e64 = className('TextView')['text'](_0x3412fe)['findOne'](0x12c), _0x176e64 ? (_0x13a56b['superclick'](_0x176e64), _0x13a56b['randomWait'](0x384, 0x44c), console['log']('[wechat|L6593]', '【标志】现有标签\x20点击成功!'), _0x5e2d3c = !![]) : (_0x176e64 = this['getUiObj']([
                        text('添加标签')['className']('EditText'),
                        className('EditText')
                    ]), _0x176e64 && (_0x5e2d3c = _0x13a56b['input'](_0x176e64, _0x3412fe), _0x13a56b['randomWait'](0x578, 0x640), console['log']('[wechat|L6600]', '【标志】标签\x20添加' + (_0x5e2d3c ? '成功' : '失败')))));
                }
            }
            var _0x59abe3, _0x1b3cef = 0x0, _0x4c10b2 = 0x0;
            while (_0x4c10b2 < 0x2) {
                _0x13a56b['randomWait'](0x708, 0x898), _0x59abe3 = text('保存')['findOne'](0x12c), !_0x59abe3 && (_0x59abe3 = text('完成')['findOne'](0x12c)), !_0x59abe3 && (_0x59abe3 = text('确定')['findOne'](0x12c)), !_0x59abe3 ? (this['处理弹窗']([
                    '确定',
                    '保存'
                ]) && (console['log']('[wechat|L6623]', '[判断]发现弹窗并处理'), back(), _0x4c10b2--), _0x4c10b2++) : !_0x13a56b['click'](_0x59abe3) ? (_0x13a56b['clickByPos'](_0x59abe3), _0x13a56b['randomWait'](0x708, 0x898), text('保存')['exists']() || text('确定')['exists']() || text('完成')['exists']() ? (console['log']('[wechat|L6633]', '【提示】保存按扭仍存在'), !this['返回'](0x1) && back()) : _0x1b3cef++) : _0x1b3cef++;
            }
            return _0x1b3cef < 0x2 && (_0x176e64 = text('保存')['findOne'](0x12c), !_0x176e64 && (_0x176e64 = text('完成')['findOne'](0x12c)), !_0x176e64 && (_0x176e64 = text('确定')['findOne'](0x12c)), _0x176e64 && (!_0x13a56b['superclick'](_0x176e64) && (console['log']('[wechat|L6656]', '完成\x20无法点击,返回上一层~'), !this['返回'](0x1) && back()))), _0x5e2d3c;
        }, _0x113844['verifyApplyFast'] = function (_0x3d4acf, _0x3df923) {
            console['log']('[wechat|L6671]', '【标志】快速添加模式~');
            let _0x1d80a1 = _0x3df923['name'] ? _0x3df923['name'] : '', _0x4c2612 = 0x0;
            if (!_0x3d4acf || !_0x13a56b['superclick'](_0x3d4acf))
                return _0x4c2612;
            _0x13a56b['randomWait'](0x708, 0x898);
            if (this['处理弹窗']('确定'))
                return toastLog('【警告】该用户“' + _0x1d80a1 + '”无法添加,可能是对方设置或被拉黑造成'), _0x4c2612;
            if (className('TextView')['text']('申请添加朋友')['findOne'](0x258) || _0x113844['waitForActivity']('SayHiWithSnsPermissionUI', 0x2)) {
                console['log']('[wechat|L6685]', '【标志】已进入\x22申请添加朋友\x22~'), this['push'](_0x3df923, '待验证'), this['返回'](0x1);
                let _0x4659d9 = '略过';
                toastLog('【判断】该用户“' + _0x1d80a1 + '”发送请求' + _0x4659d9);
            } else {
                if (className('TextView')['text']('发消息')['findOne'](0x258) || _0x113844['waitForActivity']('ContactInfoUI', 0x2)) {
                    _0x4c2612 = className('TextView')['text']('发消息')['findOne'](0x12c) ? 0x1 : -0x1;
                    let _0x5d7a18 = _0x4c2612 === 0x1 ? '成功' : '失败!原因:可能是频繁限制/对方限制此添加方式/账号异常/已将你拉黑~';
                    toastLog('【判断】该用户“' + _0x1d80a1 + '”直接添加' + _0x5d7a18), _0x3df923 = this['fillPerson'](_0x3df923), this['push'](_0x3df923, _0x4c2612 === 0x1 ? '通过' : '限加/异常/拉黑');
                }
            }
            return _0x13a56b['randomWait'](0x12c, 0x190), _0x4c2612;
        }, _0x113844['verifyApply710'] = function (_0x176118, _0x22c13a) {
            console['log']('[wechat|L6711]', '【标志】正常添加模式~');
            let _0x313a6d = this['Grobal']['rightType'] ? this['Grobal']['rightType'] : '仅聊天', _0x52534a = this['Grobal']['sexType'], _0x514347 = _0x22c13a['name'] ? _0x22c13a['name'] : '', _0x52a852 = 0x0;
            if ([
                    '女',
                    '男'
                ]['indexOf'](_0x52534a) > -0x1 && !desc(_0x52534a)['findOne'](0x12c))
                return console['info']('[wechat|L6718]', '当前用户不是' + _0x52534a + '性用户,不予添加'), this['push'](_0x22c13a, '失败'), _0x52a852;
            if (!_0x176118 || !_0x13a56b['superclick'](_0x176118))
                return _0x52a852;
            _0x13a56b['randomWait'](0x578, 0x640);
            if (className('TextView')['text']('申请添加朋友')['findOne'](0x258) || _0x113844['waitForActivity']('SayHiWithSnsPermissionUI', 0x2)) {
                toastLog('【标志】已进入\x22申请添加朋友\x22~');
                let _0x2f01a0 = className('EditText')['findOne'](0x12c), _0x40b0ca = this['createRandomContent'](_0x514347);
                !_0x2f01a0 && !_0x13a56b['inputSimple'](_0x40b0ca) ? console['log']('[wechat|L6738]', '找不到\x20验证申请\x20输入框') : _0x13a56b['input'](_0x2f01a0, _0x40b0ca);
                _0x13a56b['randomWait'](0x384, 0x44c);
                if (!_0x22c13a['nickname']) {
                    let _0xd94494 = className('EditText')['find']();
                    _0xd94494 && _0xd94494['length'] > 0x1 && (_0x22c13a['nickname'] = String(_0xd94494[0x1]['text']()));
                }
                let _0x44ecf4 = this['getUiObj'](textContains(_0x313a6d));
                _0x44ecf4 && _0x13a56b['superclick'](_0x44ecf4) ? toastLog('已设置朋友权限为' + _0x313a6d) : toastLog('未设置朋友权限为' + _0x313a6d);
                _0x44ecf4 = this['getBtnOrTxt']('发送');
                if (_0x44ecf4) {
                    if (_0x13a56b['superclick'](_0x44ecf4)) {
                        _0x13a56b['randomWait'](0x44c, 0x514);
                        if (this['处理弹窗']('确定'))
                            toastLog('【警告】该用户“' + _0x514347 + '”无法添加,可能是账号异常/对方设置/其他情况造成'), this['返回'](0x1);
                        else {
                            if (this['getUiObj'](text('正在发送...')))
                                toastLog('【警告】该用户“' + _0x514347 + '”无法添加,可能是账号异常/对方设置/其他情况造成'), back(), this['返回'](0x1);
                            else
                                this['getBtnOrTxt']('发送') ? (_0x13a56b['toastWarn']('微信可能已提示:\x20操作过于频繁，请稍后重试。\x0a为保护账号安全,正在中断此轮功能~'), this['返回'](0x1), _0x52a852 = -0x1) : _0x52a852 = 0x1;
                        }
                    } else
                        _0x13a56b['toastWarn']('点击\x20发送\x20失败'), this['返回'](0x1);
                } else
                    _0x13a56b['toastWarn']('找不到\x20发送\x20按钮'), this['返回'](0x1);
                let _0x305ca4 = _0x52a852 === 0x1 ? '成功' : '失败';
                _0x52a852 !== -0x1 && this['push'](_0x22c13a, _0x52a852 === 0x1 ? '待验证' : '失败'), toastLog('【判断】该用户“' + _0x514347 + '”发送请求' + _0x305ca4);
            } else {
                if (this['处理弹窗']('确定'))
                    toastLog('【警告】该用户“' + _0x514347 + '”无法添加,可能是对方设置或被拉黑造成'), this['push'](_0x22c13a, '限加/异常/拉黑');
                else {
                    let _0x48c267 = className('TextView')['text']('发消息')['exists']();
                    _0x48c267 && (_0x52a852 = 0x1);
                    var _0x5ee096 = _0x48c267 ? '成功!' : '失败!原因:可能是对方限制此添加方式/账号异常/已将你拉黑~';
                    toastLog('【判断】该用户“' + _0x514347 + '”直接添加' + _0x5ee096), _0x52a852 === 0x1 && (_0x22c13a = this['fillPerson'](_0x22c13a)), this['push'](_0x22c13a, _0x52a852 === 0x1 ? '通过' : '限加/异常/拉黑');
                }
            }
            return _0x13a56b['randomWait'](0x384, 0x44c), _0x52a852;
        }, _0x113844['新的朋友接受'] = function (_0x4b535a, _0x56a3ff, _0x2349e6) {
            this['启动']();
            if (!this['进入新的朋友']())
                return;
            _0x13a56b['randomWait'](0xaf0, 0xc80);
            var _0x1ae550 = 0x0, _0x2d3901 = '', _0x411f52 = 0x5;
            _0x4b535a = 0xc8;
            var _0x50c54e = [];
            while (_0x1ae550 < _0x4b535a && _0x411f52 > 0x0) {
                if (!className('Button')['text']('接受')['exists']()) {
                    this['scroll'](), _0x13a56b['randomWait'](0x8fc, 0xa8c), _0x411f52--;
                    continue;
                }
                var _0x1daf1f = className('Button')['text']('接受')['find']();
                console['log']('[wechat|L6841]', '找到“接受”个数：' + _0x1daf1f['length']);
                var _0x2a9e62 = this['用户数组获取'](_0x1daf1f);
                _0x2a9e62 = this['用户数组过滤'](_0x2a9e62, _0x50c54e), console['log']('[wechat|L6844]', '可用“接受”个数：' + _0x2a9e62['length']);
                for (let _0xb2db56 = _0x2a9e62['length'] - 0x1; _0xb2db56 >= 0x0; _0xb2db56--) {
                    if (_0x1ae550 >= _0x4b535a)
                        break;
                    _0x1ae550++;
                    var _0x27e48e = _0x2a9e62[_0xb2db56]['idx'], _0x2aac3f = _0x2a9e62[_0xb2db56]['name'];
                    _0x50c54e['push'](_0x2aac3f), this['addRecords']([_0x2aac3f], '接受请求'), console['log']('[wechat|L6854]', 'idx：' + _0x27e48e + '\x20name:' + _0x2aac3f);
                    if (!this['朋友验证'](_0x1daf1f[_0x27e48e])) {
                        console['log']('[wechat|L6858]', '开始长按:' + _0x27e48e), _0x13a56b['randomWait'](0x384, 0x44c);
                        if (_0x13a56b['longClick'](_0x1daf1f[_0x27e48e])) {
                            console['log']('[wechat|L6861]', '长按成功'), _0x13a56b['randomWait'](0x384, 0x44c);
                            var _0x1febe1 = className('TextView')['text']('删除')['findOne'](0x12c);
                            _0x1febe1 ? (console['log']('[wechat|L6865]', '找到删除按钮'), _0x13a56b['superclick'](_0x1febe1) ? console['log']('[wechat|L6867]', '点击成功\x20删除按钮') : console['log']('[wechat|L6869]', '点击失败\x20删除按钮')) : console['log']('[wechat|L6872]', '没找到删除按钮');
                        } else
                            console['log']('[wechat|L6875]', '长按失败');
                    }
                    _0x2d3901 = '第' + _0x1ae550 + '个请求', console['log']('[wechat|L6879]', _0x2d3901), _0x13a56b['randomWait'](_0x56a3ff, _0x2349e6);
                }
                this['scroll']();
            }
        }, _0x113844['用户数组过滤并集'] = function (_0x4e7126, _0x194e76, _0x31b24d) {
            if (_0x4e7126['length'] === 0x0 || _0x194e76['length'] === 0x0)
                return [];
            _0x31b24d = _0x31b24d || 'name';
            let _0xe09481 = [], _0x3fa349 = [];
            for (let _0x28be68 = 0x0; _0x28be68 < _0x4e7126['length']; _0x28be68++) {
                let _0x5db1bc = _0x4e7126[_0x28be68];
                console['log']('[wechat|L6895]', 'user_temp', _0x5db1bc);
                let _0x183b10 = _0x5db1bc[_0x31b24d];
                _0x194e76['indexOf'](_0x183b10) > -0x1 ? _0xe09481['push'](_0x5db1bc) : _0x3fa349['push'](_0x5db1bc);
            }
            return console['log']('[wechat|L6903]', '过滤掉用户数组：', _0x3fa349), console['log']('[wechat|L6904]', '过滤前：' + _0x4e7126['length'] + ',过滤后：' + _0xe09481['length']), _0xe09481;
        }, _0x113844['用户数组过滤'] = function (_0x5a2260, _0x1d8d03, _0x5a5479) {
            _0x5a5479 = _0x5a5479 ? _0x5a5479 : 'name';
            if (_0x1d8d03['length'] === 0x0)
                return _0x5a2260;
            var _0x37a800, _0x5ad685 = [], _0x53e1d0 = [];
            let _0x2fb016;
            for (let _0x18420a = 0x0; _0x18420a < _0x5a2260['length']; _0x18420a++) {
                _0x37a800 = _0x5a2260[_0x18420a], _0x2fb016 = !![];
                var _0x272e1c, _0x18935d = typeof _0x1d8d03[0x0] === 'string' ? 0x1 : 0x0;
                for (let _0x260de2 = _0x1d8d03['length'] - 0x1; _0x260de2 >= 0x0; _0x260de2--) {
                    _0x272e1c = _0x18935d ? _0x1d8d03[_0x260de2] : _0x1d8d03[_0x260de2][_0x5a5479];
                    if (_0x37a800[_0x5a5479] === _0x272e1c) {
                        _0x53e1d0['push'](_0x37a800[_0x5a5479]), _0x2fb016 = ![];
                        break;
                    }
                }
                _0x2fb016 && _0x5ad685['push'](_0x37a800);
            }
            return console['log']('[wechat|L6933]', '过滤掉用户数组：' + _0x53e1d0['join']('\x20')), console['log']('[wechat|L6934]', '过滤前：' + _0x5a2260['length'] + ',过滤后：' + _0x5ad685['length']), _0x5ad685;
        }, _0x113844['用户数组获取'] = function (_0x4a1576, _0x4dde76) {
            let _0x214183 = [], _0x3e4a7d;
            _0x4dde76 = _0x4dde76 ? _0x4dde76 : '新的朋友';
            switch (_0x4dde76) {
            case '附近的人':
                for (let _0x205496 = 0x0; _0x205496 < _0x4a1576['length']; _0x205496++) {
                    if (_0x4a1576[_0x205496]['childCount']() === 0x0)
                        continue;
                    _0x3e4a7d = _0x4a1576[_0x205496]['child'](0x0);
                    let _0x34727c = (_0x3e4a7d['text']() || '')['toString'](), _0x305b72 = {
                            'name': _0x34727c,
                            'idx': _0x205496
                        };
                    _0x214183['push'](_0x305b72);
                }
                break;
            case '通讯录加好友':
                for (let _0x184007 = 0x0; _0x184007 < _0x4a1576['length']; _0x184007++) {
                    _0x3e4a7d = this['获取微信名'](_0x4a1576[_0x184007]);
                    let _0x4c40bd = {
                        'name': _0x3e4a7d,
                        'idx': _0x184007
                    };
                    _0x214183['push'](_0x4c40bd);
                }
                break;
            case '新的朋友添加':
                for (let _0x804456 = 0x0; _0x804456 < _0x4a1576['length']; _0x804456++) {
                    _0x3e4a7d = this['获取手机联系人'](_0x4a1576[_0x804456]);
                    let _0x2a0010 = {
                        'name': _0x3e4a7d,
                        'idx': _0x804456
                    };
                    _0x214183['push'](_0x2a0010);
                }
                break;
            case '新的朋友':
            default:
                for (let _0x550aae = 0x0; _0x550aae < _0x4a1576['length']; _0x550aae++) {
                    _0x3e4a7d = (_0x4a1576[_0x550aae]['parent']()['child'](0x0)['text']() || '')['toString']();
                    let _0xfa2390 = {
                        'name': _0x3e4a7d,
                        'idx': _0x550aae
                    };
                    _0x214183['push'](_0xfa2390);
                }
                break;
            }
            return _0x214183;
        }, _0x113844['获取手机联系人'] = function (_0x295822) {
            if (!_0x295822)
                return console['log']('[wechat|L6994]', '[错误]参数出错~'), '';
            var _0x12e6d4 = _0x295822;
            while (String(_0x12e6d4['className']())['indexOf']('RelativeLayout') === -0x1 && String(_0x12e6d4['className']())['indexOf']('LinearLayout') === -0x1) {
                if (_0x12e6d4['depth']() > 0x1)
                    console['log']('[wechat|L7001]', '【标志】继续向上查找,className:' + String(_0x12e6d4['className']())), _0x12e6d4 = _0x12e6d4['parent']();
                else
                    return console['log']('[wechat|L7004]', '[错误]已无法再向上查找父级.'), '';
            }
            console['log']('[wechat|L7008]', 'UiO.className():' + _0x12e6d4['className']());
            var _0x48078a = _0x12e6d4['bounds'](), _0xe969e7 = boundsInside(_0x48078a['left'], _0x48078a['top'], _0x48078a['right'], _0x48078a['bottom'])['find'](), _0x8a2845 = null;
            _0xe969e7['forEach'](function (_0x55419a) {
                var _0x3f8316 = String(_0x55419a['text']());
                _0x3f8316 && _0x3f8316['indexOf']('手机联系人') > -0x1 && (_0x8a2845 = _0x55419a);
            });
            if (!_0x8a2845)
                return console['log']('[wechat|L7020]', '没有找到该手机联系人~'), '';
            var _0x58fcd2;
            return _0x58fcd2 = (_0x8a2845['text']() || '')['toString']()['trim'](), _0x58fcd2 = _0x58fcd2['replace']('手机联系人', ''), _0x58fcd2 = _0x58fcd2['replace'](':', ''), _0x58fcd2 = _0x58fcd2['replace']('：', ''), _0x58fcd2 = _0x58fcd2['trim'](), console['log']('[wechat|L7029]', 'name:' + _0x58fcd2), _0x58fcd2;
        }, _0x113844['获取微信名'] = function (_0x6e14) {
            if (!_0x6e14)
                return console['log']('[wechat|L7035]', '[错误]参数出错~'), '';
            do {
                if (_0x6e14['depth']() > 0x1)
                    _0x6e14 = _0x6e14['parent']();
                else
                    return console['log']('[wechat|L7042]', '[错误]已无法再向上查找父级.\x20className:' + _0x6e14['className']()), '';
            } while (_0x6e14['className']()['indexOf']('LinearLayout') == -0x1);
            var _0x452770 = '';
            return _0x6e14['children']()['forEach'](function (_0x28928b) {
                _0x28928b['className']()['indexOf']('TextView') > -0x1 && _0x28928b['text']()['length'] > 0x0 && _0x28928b['text']()['indexOf']('微信:') === -0x1 && (_0x452770 = _0x28928b['text']());
            }), !_0x452770 && console['log']('[wechat|L7054]', '[错误]未找到微信名'), _0x452770;
        }, _0x113844['启动'] = function (_0x1503f6) {
            const _0x120ae8 = _0x3cbe27;
            if (_0x1503f6)
                return app['launch'](_0x120ae8), _0x13a56b['randomWait'](0x384, 0x44c), !![];
            console['log']('[wechat|L7065]', '正在启动微信');
            if (currentPackage()['indexOf'](_0x120ae8) > -0x1)
                return console['log']('[wechat|L7067]', '应用' + _0x120ae8 + '已启动'), !![];
            app['launch'](_0x120ae8), _0x13a56b['randomWait'](0x708, 0x898);
            let _0x39a784 = this['Grobal']['wxIdx'];
            console['log']('[wechat|L7075]', '启动第' + _0x39a784 + '微信');
            let _0x27fe29 = _0x113844['getWxBtn']()['find']();
            if (_0x27fe29['length'] > 0x2) {
                let _0x435f90 = _0x27fe29['reduce'](function (_0x3ec652, _0x285dcd) {
                    let _0x13a106 = _0x3ec652['bounds']()['top'], _0x165ab2 = _0x285dcd['bounds']()['top'];
                    return _0x13a106 >= _0x165ab2 ? _0x3ec652 : _0x285dcd;
                })['bounds']()['top'];
                _0x27fe29 = _0x27fe29['filter'](function (_0x3f4848) {
                    let _0x378d5c = _0x3f4848['bounds']()['top'];
                    return _0x378d5c == _0x435f90;
                }), console['log']('[wechat|L7145]', 'wxBtn.length:' + _0x27fe29['length']);
            }
            let _0xe78e51 = ![];
            if (_0x27fe29['length'] === 0x0)
                console['log']('[wechat|L7149]', '【标志】没发现双开选项'), _0xe78e51 = ![];
            else
                _0x27fe29['length'] === 0x1 ? (console['log']('[wechat|L7152]', '【标志】没发现双开选项,点击唯一'), _0xe78e51 = _0x13a56b['superclick'](_0x27fe29[0x0])) : (_0x39a784 = _0x27fe29[_0x39a784] ? _0x39a784 : 0x0, console['log']('[wechat|L7156]', '【标志】发现双开选项,正在启动第' + (_0x39a784 + 0x1) + '个'), _0xe78e51 = _0x13a56b['superclick'](_0x27fe29[_0x39a784]));
            let _0x2bc946 = 0x3;
            do {
                if (currentActivity()['indexOf'](_0x120ae8) > -0x1 || currentPackage()['indexOf'](_0x120ae8) > -0x1) {
                    console['info']('[wechat|L7162]', '成功启动微信'), _0xe78e51 = !![], _0x13a56b['randomWait'](0x708, 0x898);
                    break;
                }
                _0x13a56b['randomWait'](0x384, 0x44c), _0x2bc946 -= 0x1;
            } while (_0x2bc946 > 0x0);
            return _0xe78e51;
        }, _0x113844['getPhone'] = function (_0x34c253) {
            let _0x4466dc = _0x113844['getContactList']();
            if (_0x4466dc['length'] === 0x0)
                return '';
            let _0x26f5fb = '';
            for (let _0xf7c60c = 0x0; _0xf7c60c < _0x4466dc['length']; _0xf7c60c++) {
                let _0x38fb00 = _0x4466dc[_0xf7c60c];
                if (_0x34c253['name'] === _0x38fb00['name']) {
                    _0x26f5fb = _0x38fb00['number'] || '';
                    break;
                }
            }
            return _0x26f5fb;
        }, _0x113844['getContact'] = function (_0x2525f5) {
            let _0x2f6a5a = _0x113844['getContactList']();
            if (_0x2f6a5a['length'] === 0x0)
                return '';
            let _0x14d131 = _0x2525f5;
            for (let _0x29d973 = 0x0; _0x29d973 < _0x2f6a5a['length']; _0x29d973++) {
                let _0x2afcb3 = _0x2f6a5a[_0x29d973];
                if (_0x2525f5['name'] === _0x2afcb3['name']) {
                    _0x14d131 = Object['assign'](_0x2525f5, _0x2afcb3);
                    break;
                }
            }
            return _0x14d131;
        }, _0x113844['waitForActivity'] = function (_0x25bfff, _0x46082f, _0xf5f080) {
            _0x46082f = _0x46082f ? parseInt(_0x46082f) : 0x4;
            let _0x294b06 = ![];
            try {
                while (_0x46082f > 0x0 && !_0x294b06) {
                    _0x46082f--;
                    let _0x342c8f = '';
                    _0x342c8f = currentActivity(), _0x13a56b['randomWait'](0x384, 0x44c);
                    let _0x40f1b6 = _0x342c8f['split']('.')['pop']();
                    _0x25bfff['indexOf'](_0x40f1b6) > -0x1 && (_0x294b06 = !![]);
                }
                if (!_0x294b06) {
                    let _0x416ced = currentActivity();
                    _0x416ced['indexOf']('ScriptExecuteActivity') > -0x1 && !_0xf5f080 ? (console['verbose']('【标志】兜底!\x20当前Activity:' + _0x416ced), _0x294b06 = !![]) : console['verbose']('【标志】不匹配!\x20当前Activity:' + _0x416ced + ',\x20目标Activity:' + _0x25bfff);
                }
            } catch (_0x4497eb) {
                console['log']('[wechat|L7242]', 'wechat.waitForActivity()' + JSON['stringify'](_0x4497eb)), _0x113844['启动'](!![]), _0x294b06 = ![];
            }
            return _0x294b06;
        }, _0x113844['findOne'] = function (_0x376a7b, _0x175dd9) {
            if (!_0x376a7b || !_0x376a7b['findOnce'])
                return console['warn']('[wechat|L7250]', '请传入UiSelector参数'), ![];
            return _0x175dd9 = !isNaN(_0x175dd9) ? parseInt(_0x175dd9) : 0x12c, _0x376a7b['findOne'](_0x175dd9);
        }, _0x113844['handle'] = function (_0x275424, _0x37ffa6, _0xd4dc2d) {
            if (!_0x275424 || !_0x13a56b['控件判断'](_0x275424))
                return ![];
            let _0x597a89 = {
                'click': function () {
                    return _0x13a56b['superclick'](_0x275424);
                },
                'longClick': function () {
                    return _0x13a56b['superlongClick'](_0x275424);
                },
                'clickByPos': function (_0x5963bd) {
                    if (!_0x5963bd['time'] || typeof _0x5963bd['time'] !== 'number')
                        return ![];
                    return _0x13a56b['clickByPos'](_0x275424, _0x5963bd['time']);
                },
                'input': function (_0x13af51) {
                    if (!_0x13af51['str'] || typeof _0x13af51['str'] !== 'string')
                        return ![];
                    return _0x13a56b['input'](_0x275424, _0x13af51['str']);
                }
            };
            _0x37ffa6 = _0x597a89[_0x37ffa6] ? _0x37ffa6 : 'click';
            let _0x94350 = _0x597a89[_0x37ffa6](_0xd4dc2d);
            return _0x13a56b['randomWait'](0x384, 0x44c), _0x94350;
        }, _0x113844['findOneAndHandle'] = function (_0x5a93ca, _0x56adc, _0x4f114c) {
            let _0xae5ac8 = _0x113844['findOne'](_0x5a93ca, 0x1f4);
            if (!_0xae5ac8)
                return console['warn']('[wechat|L7294]', '找不到UiObject'), ![];
            return _0x113844['handle'](_0xae5ac8, _0x56adc, _0x4f114c);
        };
        function _0x4bc125(_0x2a823b, _0x931b8d, _0x5ee9d9) {
            let _0xa41f94 = [];
            return !_0x931b8d['length'] ? _0xa41f94 = _0x2a823b : _0xa41f94 = _0x2a823b['filter'](function (_0x354887) {
                let _0x46db0a = _0x931b8d['indexOf'](_0x354887);
                if (_0x46db0a > -0x1)
                    return !!_0x5ee9d9 && _0x931b8d['splice'](_0x46db0a, 0x1), ![];
                return !![];
            }), _0xa41f94;
        }
    },
    function (_0x3debc2, _0x45a57f) {
        _0x3debc2['exports'] = require('./upload.js');
    }
]);